Configurable
Properties
Section titled “Properties”bindings
Section titled “bindings”
readonlybindings: [TgpuSlot<unknown>,unknown][]
Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:198
Methods
Section titled “Methods”pipe()
Section titled “pipe()”pipe(
transform):Configurable
Parameters
Section titled “Parameters”transform
Section titled “transform”(cfg) => Configurable
Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:214
with()
Section titled “with()”Call Signature
Section titled “Call Signature”with<
T>(slot,value):Configurable
Type Parameters
Section titled “Type Parameters”• T
Parameters
Section titled “Parameters”TgpuSlot<T>
Eventual<T>
Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:200
Call Signature
Section titled “Call Signature”with<
T>(accessor,value):Configurable
Type Parameters
Section titled “Type Parameters”• T extends WgslTexture<WgslTextureProps> | WgslStorageTexture<WgslStorageTextureProps>
Parameters
Section titled “Parameters”accessor
Section titled “accessor”TgpuAccessor<T>
TgpuTextureView<T> | Infer<T>
Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:201
Call Signature
Section titled “Call Signature”with<
T>(accessor,value):Configurable
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>