| 204 | } |
| 205 | |
| 206 | void GPUContextDX11::Clear(GPUTextureView* rt, const Color& color) |
| 207 | { |
| 208 | auto rtDX11 = static_cast<GPUTextureViewDX11*>(rt); |
| 209 | if (rtDX11) |
| 210 | { |
| 211 | _context->ClearRenderTargetView(rtDX11->RTV(), color.Raw); |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | void GPUContextDX11::ClearDepth(GPUTextureView* depthBuffer, float depthValue, uint8 stencilValue) |
| 216 | { |
no test coverage detected