Skip to main content

Documentation Index

Fetch the complete documentation index at: https://rive-editor-sidebar-reorg.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

A compiled GPU render pipeline (shaders + fixed-function state).

Constructors

new

new(desc: {vertex: Shader, fragment: Shader?, vertexLayout:{VertexBufferLayout}, bindGroupLayouts:{GPUBindGroupLayout}?, colorTargets:{ColorTarget}?, depthStencil: DepthStencilState?, cullMode: CullMode?, topology: PrimitiveTopology?, sampleCount: number?,}) -> GPUPipeline

Methods

getBindGroupLayout

getBindGroupLayout(groupIndex: number) -> GPUBindGroupLayout
Returns the layout the pipeline auto-derived for @group(N). Errors if bindGroupLayouts was supplied at construction (reuse the explicit one) or if N is not bound by the shader. Mirrors WebGPU’s pipeline.getBindGroupLayout(index).