IDirect3DRMMeshBuilder2::SetColorSource

Sets the color source of a Direct3DRMMeshBuilder2 object.

HRESULT SetColorSource(
D3DRMCOLORSOURCE source
);

Parameters

source

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

Return Values

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

See Also

IDirect3DRMMeshBuilder2::GetColorSource