| 232 | } |
| 233 | |
| 234 | static void ClearCubemap(IDeviceContext* pCtx, ITexture* pCubemap) |
| 235 | { |
| 236 | ProcessCubemapFaces(pCtx, pCubemap, [pCtx](ITextureView* pRTV, Uint32 mip, Uint32 face) { |
| 237 | pCtx->ClearRenderTarget(pRTV, nullptr, RESOURCE_STATE_TRANSITION_MODE_TRANSITION); |
| 238 | }); |
| 239 | } |
| 240 | |
| 241 | PBR_Renderer::PBR_Renderer(IRenderDevice* pDevice, |
| 242 | IRenderStateCache* pStateCache, |
no test coverage detected