WebGPU implementation of RenderTargetAllocator.
More...
#include <WebGPURenderTargetAllocator.hpp>
WebGPU implementation of RenderTargetAllocator.
◆ WebGPURenderTargetAllocator()
| Video::WebGPURenderTargetAllocator::WebGPURenderTargetAllocator |
( |
WebGPURenderer & |
renderer | ) |
|
|
explicit |
Create a new render target allocator.
- Parameters
-
| renderer | The WebGPU renderer. |
◆ ~WebGPURenderTargetAllocator()
| Video::WebGPURenderTargetAllocator::~WebGPURenderTargetAllocator |
( |
| ) |
|
|
final |
◆ BeginFrame()
| void Video::WebGPURenderTargetAllocator::BeginFrame |
( |
| ) |
|
|
finalvirtual |
◆ CreateAttachmentlessRenderTarget()
| WebGPUTexture * Video::WebGPURenderTargetAllocator::CreateAttachmentlessRenderTarget |
( |
const glm::uvec2 & |
size, |
|
|
uint32_t |
sampleCount = 1 |
|
) |
| |
Create an attachmentless render target.
- Parameters
-
| size | The size of the texture, in pixels. |
| sampleCount | MSAA samples. |
◆ FreeAttachmentlessRenderTarget()
| void Video::WebGPURenderTargetAllocator::FreeAttachmentlessRenderTarget |
( |
WebGPUTexture * |
renderTarget | ) |
|
Free an attachmentless render target.
- Parameters
-
| renderTarget | The render target to free. |
The documentation for this class was generated from the following files: