PipelineGroup

A group of Pipelines that share the same VertexAttributeObjects and BindGroups.

Constructors

new PipelineGroup(options: PipelineGroupOptions): PipelineGroup

Properties

indexBuffer

indexBuffer: IndexBuffer

instanceCount

instanceCount: number

label

label: string

pipelines

pipelines: Pipeline[]

vertexAttributeObjects

vertexAttributeObjects: VertexAttributeObject[]

vertexCount

vertexCount: number

Methods

addVertexAttributeObjects

addVertexAttributeObjects(vertexAttributeObjects: VertexAttributeObject[]): void

build

build(): Promise<void>

getDevice

getDevice(): Promise<GPUDevice>

setBindGroups

setBindGroups(bindGroups: BindGroup[]): Promise<void>

setDevice

setDevice(d: GPUDevice): void

setIndexBuffer

setIndexBuffer(indexBuffer: IndexBuffer): Promise<void>

setInstanceCount

setInstanceCount(count: number): void

setLabel

setLabel(label: string): void

You are viewing the beta docs. You may find the legacy docs more helpful.