Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves albedo values of the mesh vertices.
Syntax
HRESULT GetVertexAlbedo(
[in, out] D3DXCOLOR *pVertColors,
[in] UINT NumVerts
);
Parameters
-
pVertColors [in, out]
-
Type: D3DXCOLOR*
Pointer to a destination array of albedo values of the mesh vertices. See D3DXCOLOR.
-
NumVerts [in]
-
Type: UINT
Number of vertices in the mesh.
Return value
Type: HRESULT
If the method succeeds, the return value is S_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, E_OUTOFMEMORY.
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
See also