MCPcopy Create free account
hub / github.com/carbonengine/trinity / DestroyRenderTargets

Method DestroyRenderTargets

trinity/Tr2ReflectionProbe.cpp:331–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331void Tr2ReflectionProbe::DestroyRenderTargets()
332{
333 for( unsigned i = 0; i < 6; i++ )
334 {
335 m_renderTargets[i]->Destroy();
336 m_stencilMaps[i] = Tr2TextureAL();
337 }
338
339 m_renderTargetCube->Destroy();
340 m_preFilterTarget->Destroy();
341 m_postFilterTarget->Destroy();
342 m_initialized = false;
343 m_onePassDone = false;
344 m_currentFrame = 0;
345}
346
347void Tr2ReflectionProbe::Filter( Tr2RenderContext& renderContext )
348{

Callers

nothing calls this directly

Calls 2

Tr2TextureALClass · 0.70
DestroyMethod · 0.45

Tested by

no test coverage detected