| 1597 | } |
| 1598 | |
| 1599 | void 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 | |
| 1614 | void PostEffect::reload() |
| 1615 | { |
no test coverage detected