MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getSpecialLight

Method getSpecialLight

Engine/source/lighting/lightManager.cpp:174–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174LightInfo* LightManager::getSpecialLight( LightManager::SpecialLightTypesEnum type, bool useDefault )
175{
176 if ( mSpecialLights[type] )
177 return mSpecialLights[type];
178
179 if ( useDefault )
180 return getDefaultLight();
181
182 return NULL;
183}
184
185void LightManager::setSpecialLight( LightManager::SpecialLightTypesEnum type, LightInfo *light )
186{

Callers 12

renderSceneMethod · 0.80
prepRenderImageMethod · 0.80
_setupConstantsMethod · 0.80
_scoreLightsMethod · 0.80
renderMethod · 0.80
innerRenderMethod · 0.80
setShaderParamsMethod · 0.80
setupVertexBlockMethod · 0.80
setupSceneGraphInfoMethod · 0.80
setupSceneGraphInfoMethod · 0.80
renderObjectMethod · 0.80
renderObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected