| 1355 | } |
| 1356 | |
| 1357 | void 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 | |
| 1372 | void PostEffect::reload() |
| 1373 | { |
no test coverage detected