Torque3D Documentation / _generateds / LightMatInstance

LightMatInstance

Engine/source/lighting/advanced/advancedLightBinManager.h

More...

Protected Types

enum
_Anonymous_ {
  DynamicLight = 0
  SunLight 
  StaticLightNonLMGeometry 
  StaticLightLMGeometry 
  NUM_LIT_STATES 
  Base = 0
  Reflecting = 1
}

Private Types

Parent 

Protected Attributes

Public Attributes

Public Functions

bool
init(const FeatureSet & features, const GFXVertexFormat * vertexFormat)
bool

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