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

Method isCompatible

Engine/source/lighting/basic/basicLightManager.cpp:151–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151bool BasicLightManager::isCompatible() const
152{
153 // As long as we have some shaders this works.
154 return GFX->getPixelShaderVersion() > 1.0;
155}
156
157void BasicLightManager::activate( SceneManager *sceneManager )
158{

Callers 1

_setLightManagerMethod · 0.45

Calls 1

getPixelShaderVersionMethod · 0.45

Tested by

no test coverage detected