IDirect3DRMMeshBuilder::SetColorSource

HRESULT SetColorSource(D3DRMCOLORSOURCE source);

Sets the color source of a Direct3DRMMeshBuilder object.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

source

Member of the D3DRMCOLORSOURCE enumerated type that specifies the new color source to use.