MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / Shutdown

Method Shutdown

BindlessDeferred/MeshRenderer.cpp:339–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339void MeshRenderer::Shutdown()
340{
341 DestroyPSOs();
342 sunShadowMap.Shutdown();
343 spotLightShadowMap.Shutdown();
344 spotLightShadowMatrices.Shutdown();
345 materialTextureIndices.Shutdown();
346 DX12::Release(mainPassRootSignature);
347 DX12::Release(gBufferRootSignature);
348 DX12::Release(depthRootSignature);
349}
350
351void MeshRenderer::CreatePSOs(DXGI_FORMAT mainRTFormat, DXGI_FORMAT depthFormat, const DXGI_FORMAT* gBufferFormats,
352 uint64 numGBuffers, uint32 numMSAASamples)

Callers 1

ShutdownFunction · 0.45

Calls 2

DestroyPSOsFunction · 0.85
ReleaseFunction · 0.85

Tested by

no test coverage detected