| 156 | } |
| 157 | |
| 158 | void GPUContextWebGPU::Clear(GPUTextureView* rt, const Color& color) |
| 159 | { |
| 160 | auto& clear = _pendingClears.AddOne(); |
| 161 | clear.View = (GPUTextureViewWebGPU*)rt; |
| 162 | Platform::MemoryCopy(clear.RGBA, color.Raw, sizeof(color.Raw)); |
| 163 | } |
| 164 | |
| 165 | void GPUContextWebGPU::ClearDepth(GPUTextureView* depthBuffer, float depthValue, uint8 stencilValue) |
| 166 | { |
no test coverage detected