Skip to content

TgpuComputePipeline

  • TgpuNamable.SelfResolvable.Timeable

readonly [$internal]: ComputePipelineInternals

SelfResolvable.[$internal]

packages/typegpu/src/core/pipeline/computePipeline.ts:47


readonly resourceType: "compute-pipeline"

packages/typegpu/src/core/pipeline/computePipeline.ts:48

[$resolve](ctx): ResolvedSnippet

ResolutionCtx

ResolvedSnippet

SelfResolvable.[$resolve]

packages/typegpu/src/types.ts:300


$name(label): this

string

this

TgpuNamable.$name

packages/typegpu/src/shared/meta.ts:87


dispatchWorkgroups(x, y?, z?): void

number

number

number

void

packages/typegpu/src/core/pipeline/computePipeline.ts:60


toString(): string

string

SelfResolvable.toString

packages/typegpu/src/types.ts:301


with<Entries>(bindGroupLayout, bindGroup): this

Entries extends Record<string, null | TgpuLayoutEntry>

TgpuBindGroupLayout<Entries>

TgpuBindGroup<Entries>

this

packages/typegpu/src/core/pipeline/computePipeline.ts:54

with(bindGroup): this

TgpuBindGroup

this

packages/typegpu/src/core/pipeline/computePipeline.ts:58


withPerformanceCallback(callback): this

(start, end) => void | Promise<void>

this

Timeable.withPerformanceCallback

packages/typegpu/src/core/pipeline/timeable.ts:6


withTimestampWrites(options): this

number

number

TgpuQuerySet<"timestamp"> | GPUQuerySet

this

Timeable.withTimestampWrites

packages/typegpu/src/core/pipeline/timeable.ts:10