TgpuDerived
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:26
Type Parameters
Section titled “Type Parameters”• T
Properties
Section titled “Properties”[$internal]
Section titled “[$internal]”
readonly[$internal]:true
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:27
[$providing]?
Section titled “[$providing]?”
readonlyoptional[$providing]:Providing
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:35
$
readonly$:GPUValueOf<T>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:32
resourceType
Section titled “resourceType”
readonlyresourceType:"derived"
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:28
readonlyvalue:GPUValueOf<T>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:31
Methods
Section titled “Methods”[$gpuValueOf]()
Section titled “[$gpuValueOf]()”[$gpuValueOf](
ctx):GPUValueOf<T>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:30
Parameters
Section titled “Parameters”ResolutionCtx
Returns
Section titled “Returns”GPUValueOf<T>
with()
Section titled “with()”with<
TValue>(slot,value):TgpuDerived<T>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:38
Type Parameters
Section titled “Type Parameters”• TValue
Parameters
Section titled “Parameters”TgpuSlot<TValue>
Eventual<TValue>
Returns
Section titled “Returns”TgpuDerived<T>