CustomMaterial
Engine/source/materials/customMaterialDefinition.h
Public Types
enum
CustomConsts { MAX_PASSES = 8 NUM_FALLBACK_VERSIONS = 2 }
Private Types
Parent
Public Attributes
Protected Attributes
Public Functions
bool
onAdd()
Called when the object is added to the sim.
Public Static Functions
Protected Functions
Map this material to the texture specified in the "mapTo" data variable.
Detailed Description
Public Types
CustomConsts
Enumerator
- MAX_PASSES = 8
- NUM_FALLBACK_VERSIONS = 2
Private Types
typedef Material Parent
Public Attributes
Material * mFallback
bool mForwardLit
String mOutputTarget
bool mRefract
String mSamplerNames [MAX_TEX_PER_PASS]
ShaderData * mShaderData
FileName mTexFilename [MAX_TEX_PER_PASS]
F32 mVersion
Protected Attributes
U32 mFlags [MAX_TEX_PER_PASS]
U32 mMaxTex
String mShaderDataName
GFXStateBlockData * mStateBlockData
Public Functions
CustomMaterial()
DECLARE_CONOBJECT(CustomMaterial )
getStateBlockData()
onAdd()
Reimplemented from: Material
onRemove()
Reimplemented from: Material