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

Method _handleBinEvent

Engine/source/postFx/postEffectManager.cpp:107–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void 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
124void PostEffectManager::_onPostRenderPass( SceneManager *sceneGraph, const SceneRenderState *sceneState )
125{

Callers

nothing calls this directly

Calls 4

isShadowPassMethod · 0.80
isOtherPassMethod · 0.80
getNameMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected