IDirect3DRMMaterial::GetEmissive

HRESULT GetEmissive(D3DVALUE *lpr, D3DVALUE *lpg, D3DVALUE *lpb);

Retrieves the setting for the emissive property of a material. The setting of this property is the color and intensity of the light the object emits.

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

lpr, lpg, and lpb

Addresses that will contain the red, green, and blue components of the emissive color when the method returns.