Configurable
Defined in: packages/typegpu/src/core/root/rootTypes.ts:128
Properties
Section titled “Properties”bindings
Section titled “bindings”
readonlybindings: [TgpuSlot<unknown>,unknown][]
Defined in: packages/typegpu/src/core/root/rootTypes.ts:129
Methods
Section titled “Methods”pipe()
Section titled “pipe()”pipe(
transform):Configurable
Defined in: packages/typegpu/src/core/root/rootTypes.ts:141
Parameters
Section titled “Parameters”transform
Section titled “transform”(cfg) => Configurable
Returns
Section titled “Returns”with()
Section titled “with()”Call Signature
Section titled “Call Signature”with<
T>(slot,value):Configurable
Defined in: packages/typegpu/src/core/root/rootTypes.ts:131
Type Parameters
Section titled “Type Parameters”• T
Parameters
Section titled “Parameters”TgpuSlot<T>
Eventual<T>
Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”with<
T>(accessor,value):Configurable
Defined in: packages/typegpu/src/core/root/rootTypes.ts:132
Type Parameters
Section titled “Type Parameters”• T extends AnyWgslData
Parameters
Section titled “Parameters”accessor
Section titled “accessor”TgpuAccessor<T>
TgpuFn<() => T> | TgpuBufferUsage<T, BindableBufferUsage> | TgpuBufferShorthand<T> | Infer<T>