D3DRMMATERIALMODE

Describes the source of material information for visuals rendered with a frame.

typedef enum _D3DRMMATERIALMODE{

D3DRMMATERIAL_FROMMESH,

D3DRMMATERIAL_FROMPARENT,

D3DRMMATERIAL_FROMFRAME

} D3DRMMATERIALMODE;

Values

D3DRMMATERIAL_FROMMESH

Material information is retrieved from the visual object (the mesh) itself. This is the default setting.

D3DRMMATERIAL_FROMPARENT

Material information, along with color or texture information, is inherited from the parent frame.

D3DRMMATERIAL_FROMFRAME

Material information is retrieved from the frame, overriding any previous material information that the visual object may have possessed.

See Also

IDirect3DRMFrame::GetMaterialMode, IDirect3DRMFrame::SetMaterialMode