Torque3D Documentation / _generateds / BasicLightManager

BasicLightManager

Engine/source/lighting/basic/basicLightManager.h

More...

Classes:

Private Types

Parent 

Protected Types

LightConstantMap 

Protected Static Attributes

Statics used for light manager/projected shadow metrics.

This is used to determine the distance at which the shadow filtering PostEffect will be enabled for ProjectedShadow.

Public Functions

activate(SceneManager * sceneManager)
bool

Sets shader constants / textures for light infos.

bool
setTextureStage(const SceneData & sgData, const U32 currTexFlag, const U32 textureSlot, GFXShaderConstBuffer * shaderConsts, ShaderConstHandles * handles)

Allows us to set textures during the Material::setTextureStage call, return true if we've done work.

Public Static Functions

Protected Functions

Attaches any LightInfoEx data for this manager to the light info object.

Detailed Description

Private Types

typedef LightManager Parent 

Protected Types

typedef Map< GFXShader *, LightingShaderConstants * > LightConstantMap 

Public Friends

Protected Attributes

LightConstantMap mConstantLookup 
SimObjectPtr< RenderDeferredMgr > mDeferredRenderBin 
LightingShaderConstants * mLastConstants 
GFXShaderRef mLastShader 
blTerrainSystem * mTerrainSystem 
PlatformTimer * mTimer 

A timer used for tracking update time.

Protected Static Attributes

U32 smActiveShadowPlugins 

Statics used for light manager/projected shadow metrics.

U32 smElapsedUpdateMs 
F32 smProjectedShadowFilterDistance 

This is used to determine the distance at which the shadow filtering PostEffect will be enabled for ProjectedShadow.

U32 smShadowsUpdated 

Public Functions

activate(SceneManager * sceneManager)

Reimplemented from: LightManager

deactivate()

Reimplemented from: LightManager

isCompatible()

Reimplemented from: LightManager

setLightInfo(ProcessedMaterial * pmat, const Material * mat, const SceneData & sgData, const SceneRenderState * state, U32 pass, GFXShaderConstBuffer * shaderConsts)

Reimplemented from: LightManager

setTextureStage(const SceneData & sgData, const U32 currTexFlag, const U32 textureSlot, GFXShaderConstBuffer * shaderConsts, ShaderConstHandles * handles)

Reimplemented from: LightManager

Public Static Functions

getShadowFilterDistance()

getSingletonName()

Protected Functions

BasicLightManager()

~BasicLightManager()

_addLightInfoEx(LightInfo * lightInfo)

Reimplemented from: LightManager

_initLightFields()

Reimplemented from: LightManager

_onPreRender(SceneManager * sceneManger, const SceneRenderState * state)