TgpuDerived
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:34
Type Parameters
Section titled “Type Parameters”• T
Properties
Section titled “Properties”[$gpuRepr]
Section titled “[$gpuRepr]”
readonly
[$gpuRepr]:InferGPU
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:41
[$providing]?
Section titled “[$providing]?”
readonly
optional
[$providing]:Providing
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:42
[$repr]
Section titled “[$repr]”
readonly
[$repr]:Infer
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:40
$
readonly
$:InferGPU
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:37
resourceType
Section titled “resourceType”
readonly
resourceType:"derived"
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:35
readonly
value:InferGPU
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:36
Methods
Section titled “Methods”with()
Section titled “with()”with<
TValue
>(slot
,value
):TgpuDerived
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:45
Type Parameters
Section titled “Type Parameters”• TValue
Parameters
Section titled “Parameters”TgpuSlot
<TValue
>
Eventual
<TValue
>
Returns
Section titled “Returns”TgpuDerived
<T
>