IDirect3DRMLight::SetEnableFrame

Sets the enable frame for a light.

HRESULT SetEnableFrame(
LPDIRECT3DRMFRAME lpEnableFrame
);

Parameters

lpEnableFrame

Address of the light's enable frame. Child frames of this frame are also enabled for this light source.

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

IDirect3DRMLight::GetEnableFrame