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

Method lightScene

Engine/source/lighting/lightManager.cpp:507–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507bool LightManager::lightScene( const char* callback, const char* param )
508{
509 BitSet32 flags = 0;
510
511 if ( param )
512 {
513 if ( !dStricmp( param, "forceAlways" ) )
514 flags.set( SceneLighting::ForceAlways );
515 else if ( !dStricmp(param, "forceWritable" ) )
516 flags.set( SceneLighting::ForceWritable );
517 else if ( !dStricmp(param, "loadOnly" ) )
518 flags.set( SceneLighting::LoadOnly );
519 }
520
521 // The SceneLighting object will delete itself
522 // once the lighting process is complete.
523 SceneLighting* sl = new SceneLighting( getSceneLightingInterface() );
524 return sl->lightScene( callback, flags );
525}
526
527RenderDeferredMgr* LightManager::_findDeferredRenderBin()
528{

Callers 1

lightManager.cppFile · 0.45

Calls 2

dStricmpFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected