Skip to content

TgpuRenderPipeline

Defined in: packages/typegpu/src/core/pipeline/renderPipeline.ts:80

  • TgpuNamable.SelfResolvable.Timeable

Output extends IOLayout = IOLayout

readonly [$internal]: RenderPipelineInternals

Defined in: packages/typegpu/src/core/pipeline/renderPipeline.ts:82


readonly hasIndexBuffer: boolean

Defined in: packages/typegpu/src/core/pipeline/renderPipeline.ts:84


readonly resourceType: "render-pipeline"

Defined in: packages/typegpu/src/core/pipeline/renderPipeline.ts:83

~resolve(ctx): string

Defined in: packages/typegpu/src/types.ts:260

ResolutionCtx

string

SelfResolvable.~resolve


$name(label): this

Defined in: packages/typegpu/src/shared/meta.ts:83

string

this

TgpuNamable.$name


draw(vertexCount, instanceCount?, firstVertex?, firstInstance?): void

Defined in: packages/typegpu/src/core/pipeline/renderPipeline.ts:115

number

number

number

number

void


toString(): string

Defined in: packages/typegpu/src/types.ts:261

string

SelfResolvable.toString


with<TData>(vertexLayout, buffer): this

Defined in: packages/typegpu/src/core/pipeline/renderPipeline.ts:86

TData extends WgslArray<BaseData> | Disarray<BaseData>

TgpuVertexLayout<TData>

TgpuBuffer<TData> & VertexFlag

this

with<Entries>(bindGroupLayout, bindGroup): this

Defined in: packages/typegpu/src/core/pipeline/renderPipeline.ts:90

Entries extends Record<string, null | TgpuLayoutEntry>

TgpuBindGroupLayout<Entries>

TgpuBindGroup<Entries>

this


withColorAttachment(attachment): this

Defined in: packages/typegpu/src/core/pipeline/renderPipeline.ts:95

FragmentOutToColorAttachment<Output>

this


withDepthStencilAttachment(attachment): this

Defined in: packages/typegpu/src/core/pipeline/renderPipeline.ts:99

DepthStencilAttachment

this


withIndexBuffer(buffer, offsetElements?, sizeElements?): TgpuRenderPipeline<Output> & HasIndexBuffer

Defined in: packages/typegpu/src/core/pipeline/renderPipeline.ts:103

TgpuBuffer<AnyWgslData> & IndexFlag

number

number

TgpuRenderPipeline<Output> & HasIndexBuffer

withIndexBuffer(buffer, indexFormat, offsetBytes?, sizeBytes?): TgpuRenderPipeline<Output> & HasIndexBuffer

Defined in: packages/typegpu/src/core/pipeline/renderPipeline.ts:108

GPUBuffer

GPUIndexFormat

number

number

TgpuRenderPipeline<Output> & HasIndexBuffer


withPerformanceCallback(callback): this

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

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

this

Timeable.withPerformanceCallback


withTimestampWrites(options): this

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

number

number

TgpuQuerySet<"timestamp"> | GPUQuerySet

this

Timeable.withTimestampWrites