This method of the Direct3dRMFrame Class retrieves the material mode of the frame.
public int getMaterialMode();
Returns a value of material mode type that specifies the current material mode.
setMaterialMode