LightMatInstance
Engine/source/lighting/advanced/advancedLightBinManager.h
Protected Types
enum
_Anonymous_ { DynamicLight = 0 SunLight StaticLightNonLMGeometry StaticLightLMGeometry NUM_LIT_STATES Base = 0 Reflecting = 1 }
Private Types
Parent
Protected Attributes
bool
mLitState [NUM_LIT_STATES][2]
Public Attributes
bool
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
@107
Enumerator
- DynamicLight = 0
- SunLight
- StaticLightNonLMGeometry
- StaticLightLMGeometry
- NUM_LIT_STATES
- Base = 0
- Reflecting = 1
Private Types
typedef MatInstance Parent
Protected Attributes
bool mInternalPass
MaterialParameterHandle * mLightMapParamsSC
GFXStateBlockRef mLitState [NUM_LIT_STATES][2]
Public Attributes
bool mSpecialLight
Public Functions
LightMatInstance(Material & mat)
init(const FeatureSet & features, const GFXVertexFormat * vertexFormat)
Reimplemented from: MatInstance
setupPass(SceneRenderState * state, const SceneData & sgData)
Reimplemented from: MatInstance