TgpuAccessor
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:46
Extends
Section titled “Extends”TgpuNamable
Type Parameters
Section titled “Type Parameters”Properties
Section titled “Properties”[$internal]
Section titled “[$internal]”
readonly
[$internal]:true
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:47
$
readonly
$:InferGPU
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:60
defaultValue
Section titled “defaultValue”
readonly
defaultValue:undefined
|TgpuFn
<() =>T
> |TgpuBufferUsage
<T
,BindableBufferUsage
> |Infer
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:51
resourceType
Section titled “resourceType”
readonly
resourceType:"accessor"
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:48
schema
Section titled “schema”
readonly
schema:T
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:50
readonly
slot:TgpuSlot
<TgpuBufferUsage
<T
,BindableBufferUsage
> |TgpuFn
<() =>T
> |Infer
<T
>>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:56
readonly
value:InferGPU
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:59
Methods
Section titled “Methods”[$gpuValueOf]()
Section titled “[$gpuValueOf]()”[$gpuValueOf](
ctx
):InferGPU
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:58
Parameters
Section titled “Parameters”ResolutionCtx
Returns
Section titled “Returns”InferGPU
<T
>
$name()
Section titled “$name()”$name(
label
):this
Defined in: packages/typegpu/src/shared/meta.ts:83
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”TgpuNamable.$name