ID3DXPRTEngine::GetVertexAlbedo

Retrieves albedo values of the mesh vertices.

HRESULT GetVertexAlbedo(
  D3DXCOLOR * pVertColors,
  UINT NumVerts
);

Parameters

pVertColors
[in, out] Pointer to a destination array of albedo values of the mesh vertices. See D3DXCOLOR.
NumVerts
[in] Number of vertices in the mesh.

Return Values

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

Header: Declared in D3dx9mesh.h.