| 87 | } |
| 88 | |
| 89 | void SpriteRenderer::Shutdown() |
| 90 | { |
| 91 | DestroyPSOs(); |
| 92 | |
| 93 | indexBuffer.Shutdown(); |
| 94 | instanceDataBuffer.Shutdown(); |
| 95 | defaultTexture.Shutdown(); |
| 96 | DX12::Release(rootSignature); |
| 97 | } |
| 98 | |
| 99 | void SpriteRenderer::CreatePSOs(DXGI_FORMAT rtFormat) |
| 100 | { |
nothing calls this directly
no test coverage detected