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

Method _renderObject

Engine/source/T3D/accumulationVolume.cpp:149–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147//-----------------------------------------------------------------------------
148
149void AccumulationVolume::_renderObject( ObjectRenderInst* ri, SceneRenderState* state, BaseMatInstance* overrideMat )
150{
151 Parent::_renderObject( ri, state, overrideMat );
152
153 #ifdef DEBUG_DRAW
154 if( state->isDiffusePass() )
155 DebugDrawer::get()->drawPolyhedronDebugInfo( mPolyhedron, getTransform(), getScale() );
156 #endif
157}
158
159//-----------------------------------------------------------------------------
160

Callers

nothing calls this directly

Calls 3

isDiffusePassMethod · 0.80
getFunction · 0.50

Tested by

no test coverage detected