MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / ClearShadowMap

Method ClearShadowMap

TombEngine/Renderer/RendererDraw.cpp:119–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 void Renderer::ClearShadowMap()
120 {
121 for (int step = 0; step < _shadowMap.RenderTargetView.size(); step++)
122 {
123 _context->ClearRenderTargetView(_shadowMap.RenderTargetView[step].Get(), Colors::White);
124 _context->ClearDepthStencilView(_shadowMap.DepthStencilView[step].Get(), D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL,
125 1.0f, 0);
126 }
127 }
128
129 void Renderer::RenderShadowMap(RendererItem* item, RenderView& renderView)
130 {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected