ForcedMaterialMeshMgr
Engine/source/renderInstance/forcedMaterialMeshMgr.h
Basically the same as RenderMeshMgr, but will override the material of the instance.
Private Types
Parent
Private Attributes
Public Functions
ForcedMaterialMeshMgr(RenderInstType riType, F32 renderOrder, F32 processAddOrder, BaseMatInstance * overrideMaterial)
render(SceneRenderState * state)
setOverrideMaterial(BaseMatInstance * overrideMaterial)
Public Static Functions
Private Static Functions
const char *
_getOverrideMat(void * object, const char * data)
bool
_setOverrideMat(void * object, const char * index, const char * data)
Detailed Description
Basically the same as RenderMeshMgr, but will override the material of the instance.
Private Types
typedef RenderMeshMgr Parent
Private Attributes
BaseMatInstance * mOverrideInstance
SimObjectPtr< Material > mOverrideMaterial
Public Functions
ForcedMaterialMeshMgr()
ForcedMaterialMeshMgr(RenderInstType riType, F32 renderOrder, F32 processAddOrder, BaseMatInstance * overrideMaterial)
~ForcedMaterialMeshMgr()
DECLARE_CONOBJECT(ForcedMaterialMeshMgr )
render(SceneRenderState * state)
Reimplemented from: RenderMeshMgr
setOverrideMaterial(BaseMatInstance * overrideMaterial)
Public Static Functions
initPersistFields()
Private Static Functions
_getOverrideMat(void * object, const char * data)
_setOverrideMat(void * object, const char * index, const char * data)