Skip to content

WithBinding

Defined in: packages/typegpu/src/core/root/rootTypes.ts:144

pipe(transform): WithBinding

Defined in: packages/typegpu/src/core/root/rootTypes.ts:167

(cfg) => Configurable

WithBinding


with<T>(slot, value): WithBinding

Defined in: packages/typegpu/src/core/root/rootTypes.ts:157

T

TgpuSlot<T>

Eventual<T>

WithBinding

with<T>(accessor, value): WithBinding

Defined in: packages/typegpu/src/core/root/rootTypes.ts:158

T extends AnyWgslData

TgpuAccessor<T>

TgpuFn<() => T> | TgpuBufferUsage<T, BindableBufferUsage> | TgpuBufferShorthand<T> | Infer<T>

WithBinding


withCompute<ComputeIn>(entryFn): WithCompute

Defined in: packages/typegpu/src/core/root/rootTypes.ts:145

ComputeIn extends IORecord<AnyComputeBuiltin>

TgpuComputeFn<ComputeIn>

WithCompute


withVertex<VertexIn, VertexOut>(entryFn, attribs): WithVertex<VertexOut>

Defined in: packages/typegpu/src/core/root/rootTypes.ts:149

VertexIn extends VertexInConstrained

VertexOut extends VertexOutConstrained

TgpuVertexFn<VertexIn, VertexOut>

LayoutToAllowedAttribs<OmitBuiltins<VertexIn>>

WithVertex<VertexOut>