MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / disable

Method disable

Engine/source/postFx/postEffect.cpp:1357–1370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1355}
1356
1357void PostEffect::disable()
1358{
1359 if ( !mEnabled )
1360 return;
1361
1362 mEnabled = false;
1363 _cleanTargets( true );
1364
1365 if ( isProperlyAdded() )
1366 {
1367 PFXMGR->_removeEffect( this );
1368 onDisabled_callback();
1369 }
1370}
1371
1372void PostEffect::reload()
1373{

Callers 3

_setIsEnabledMethod · 0.45
DefineEngineMethodFunction · 0.45
postEffect.cppFile · 0.45

Calls 1

_removeEffectMethod · 0.80

Tested by

no test coverage detected