Optional
bindThe bind group layouts. Defaults to empty.
The vertex buffer layouts.
Optional
depthThe depth stencil states. Defaults to null, which disables depth/stencil test.
The fragment shader.
Optional
fragmentThe entry point function name of a WebGPU fragment shader. Defaults to "fs_main".
Optional
multisampleThe multisample states. Defaults to empty.
Optional
primitiveThe primitive states. Defaults to empty.
Optional
targetsThe color target states. Defaults to null, which disables blending.
The vertex shader.
Optional
vertexThe entry point function name of a WebGPU vertex shader. Defaults to "vs_main".
Generated using TypeDoc
Descriptor of a GPU render pipeline resource.
See
https://www.w3.org/TR/webgpu/#render-pipeline-creation