TgpuLazy
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”• T
Properties
Section titled “Properties”[$gpuValueOf]
Section titled “[$gpuValueOf]”
readonly[$gpuValueOf]:GPUValueOf<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:41
[$internal]
Section titled “[$internal]”
readonly[$internal]:object
compute()
Section titled “compute()”Returns
Section titled “Returns”T
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:36
[$providing]?
Section titled “[$providing]?”
readonlyoptional[$providing]:Providing
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:49
$
readonly$:GPUValueOf<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:46
resourceType
Section titled “resourceType”
readonlyresourceType:"lazy"
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:39
readonlyvalue:GPUValueOf<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:45
Methods
Section titled “Methods”with()
Section titled “with()”Call Signature
Section titled “Call Signature”with<
T>(slot,value):TgpuLazy
Type Parameters
Section titled “Type Parameters”• T
Parameters
Section titled “Parameters”TgpuSlot<T>
Eventual<T>
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:243
Call Signature
Section titled “Call Signature”with<
T>(accessor,value):TgpuLazy
Type Parameters
Section titled “Type Parameters”• T extends BaseData
Parameters
Section titled “Parameters”accessor
Section titled “accessor”TgpuAccessor<T>
In<NoInfer<T>>
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”Defined in
Section titled “Defined in”packages/typegpu/src/core/root/rootTypes.ts:244
Call Signature
Section titled “Call Signature”with<
T>(accessor,value):TgpuLazy
Type Parameters
Section titled “Type Parameters”• T extends BaseData
Parameters
Section titled “Parameters”accessor
Section titled “accessor”In<NoInfer<T>>