MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / ~RenderProbeMgr

Method ~RenderProbeMgr

Engine/source/renderInstance/renderProbeMgr.cpp:211–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211RenderProbeMgr::~RenderProbeMgr()
212{
213 mLastShader = NULL;
214 mLastConstants = NULL;
215
216 for (ProbeConstantMap::Iterator i = mConstantLookup.begin(); i != mConstantLookup.end(); i++)
217 {
218 if (i->value)
219 SAFE_DELETE(i->value);
220 }
221 mConstantLookup.clear();
222}
223
224bool RenderProbeMgr::onAdd()
225{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected