LightMatInstance
Engine/source/lighting/advanced/advancedLightBinManager.h
Protected Types
enum
_Anonymous_ { DynamicLight = 0 StaticLightNonLMGeometry StaticLightLMGeometry NUM_LIT_STATES }
Private Types
Parent
Protected Attributes
bool
mLitState [NUM_LIT_STATES]
Public Functions
LightMatInstance(Material & mat)
bool
init(const FeatureSet & features, const GFXVertexFormat * vertexFormat)
bool
setupPass(SceneRenderState * state, const SceneData & sgData)
Sets up the next rendering pass for this material.
Detailed Description
Protected Types
@67
Enumerator
- DynamicLight = 0
- StaticLightNonLMGeometry
- StaticLightLMGeometry
- NUM_LIT_STATES
Private Types
typedef MatInstance Parent
Protected Attributes
bool mInternalPass
MaterialParameterHandle * mLightMapParamsSC
GFXStateBlockRef mLitState [NUM_LIT_STATES]
Public Functions
LightMatInstance(Material & mat)
init(const FeatureSet & features, const GFXVertexFormat * vertexFormat)
Reimplemented from: MatInstance
setupPass(SceneRenderState * state, const SceneData & sgData)
Reimplemented from: MatInstance
