Withable
Defined in: packages/typegpu/src/core/root/rootTypes.ts:196
Extended by
Section titled “Extended by”Type Parameters
Section titled “Type Parameters”TSelf
Methods
Section titled “Methods”with()
Section titled “with()”Call Signature
Section titled “Call Signature”with<
T>(slot,value):TSelf
Defined in: packages/typegpu/src/core/root/rootTypes.ts:197
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”TgpuSlot<T>
Eventual<T>
Returns
Section titled “Returns”TSelf
Call Signature
Section titled “Call Signature”with<
T>(accessor,value):TSelf
Defined in: packages/typegpu/src/core/root/rootTypes.ts:198
Type Parameters
Section titled “Type Parameters”T extends BaseData
Parameters
Section titled “Parameters”accessor
Section titled “accessor”TgpuAccessor<T>
In<NoInfer>
Returns
Section titled “Returns”TSelf
Call Signature
Section titled “Call Signature”with<
T>(accessor,value):TSelf
Defined in: packages/typegpu/src/core/root/rootTypes.ts:199
Type Parameters
Section titled “Type Parameters”T extends BaseData
Parameters
Section titled “Parameters”accessor
Section titled “accessor”In<NoInfer>
Returns
Section titled “Returns”TSelf