WebGPU implementation of GraphicsPipeline.
More...
#include <WebGPUGraphicsPipeline.hpp>
WebGPU implementation of GraphicsPipeline.
◆ WebGPUGraphicsPipeline()
Create new WebGPU graphics pipeline.
- Parameters
-
| renderer | The WebGPU renderer. |
| shaderProgram | The shader program to use. |
| configuration | The configuration of the pipeline. |
| vertexDescription | The description of the vertex input to the pipeline. |
◆ ~WebGPUGraphicsPipeline()
| Video::WebGPUGraphicsPipeline::~WebGPUGraphicsPipeline |
( |
| ) |
|
|
final |
◆ GetRenderPipeline()
| WGPURenderPipeline Video::WebGPUGraphicsPipeline::GetRenderPipeline |
( |
const RenderPassDescription & |
renderPassDescription | ) |
|
Get the WebGPU pipeline for a given render pass.
- Parameters
-
| renderPassDescription | A description of the render pass to generate a pipeline for. |
- Returns
- The internal WebGPU pipeline.
◆ GetShaderProgram()
Get the shader program.
- Returns
- The shader program.
The documentation for this class was generated from the following files: