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

Method prepRenderImage

Engine/source/afx/util/afxParticlePool_T3D.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34#include "afx/util/afxParticlePool.h"
35
36void afxParticlePool::prepRenderImage(SceneRenderState* state)
37{
38 const LightInfo *sunlight = LIGHTMGR->getSpecialLight( LightManager::slSunLightType );
39 pool_prepBatchRender(state->getRenderPass(), state->getCameraPosition(), sunlight->getAmbient());
40};
41
42void afxParticlePool::pool_prepBatchRender(RenderPassManager *renderManager, const Point3F &camPos, const LinearColorF &ambientColor)
43{

Callers

nothing calls this directly

Calls 3

getSpecialLightMethod · 0.80
getRenderPassMethod · 0.45
getAmbientMethod · 0.45

Tested by

no test coverage detected