| 105 | } |
| 106 | |
| 107 | void PostEffectManager::_handleBinEvent( RenderBinManager *bin, |
| 108 | const SceneRenderState* sceneState, |
| 109 | bool isBinStart ) |
| 110 | { |
| 111 | if ( sceneState->isShadowPass() || |
| 112 | sceneState->isOtherPass() ) |
| 113 | return; |
| 114 | |
| 115 | // We require a bin name to process effects... without |
| 116 | // it we can skip the bin entirely. |
| 117 | String binName( bin->getName() ); |
| 118 | if ( binName.isEmpty() ) |
| 119 | return; |
| 120 | |
| 121 | renderEffects( sceneState, isBinStart ? PFXBeforeBin : PFXAfterBin, binName ); |
| 122 | } |
| 123 | |
| 124 | void PostEffectManager::_onPostRenderPass( SceneManager *sceneGraph, const SceneRenderState *sceneState ) |
| 125 | { |
nothing calls this directly
no test coverage detected