d3d9.dllGetVertexAlbedo
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXPRTEngine::GetVertexAlbedo Method


Retrieves albedo values of the mesh vertices.

Syntax

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 Value

If the method succeeds, the return value is S_OK.

If the method fails, the return value can be one of the following:

D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may have an invalid value.
E_OUTOFMEMORYMicrosoft Direct3D could not allocate sufficient memory to complete the call.




© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.