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

Method disable

Engine/source/postFx/postEffect.cpp:1599–1612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1597}
1598
1599void PostEffect::disable()
1600{
1601 if ( !mEnabled )
1602 return;
1603
1604 mEnabled = false;
1605 _cleanTargets( true );
1606
1607 if ( isProperlyAdded() )
1608 {
1609 PFXMGR->_removeEffect( this );
1610 onDisabled_callback();
1611 }
1612}
1613
1614void PostEffect::reload()
1615{

Callers 3

_setIsEnabledMethod · 0.45
DefineEngineMethodFunction · 0.45
postEffect.cppFile · 0.45

Calls 1

_removeEffectMethod · 0.80

Tested by

no test coverage detected