TgpuAccessor
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:53
Extends
Section titled “Extends”TgpuNamable
Type Parameters
Section titled “Type Parameters”Properties
Section titled “Properties”[$gpuRepr]
Section titled “[$gpuRepr]”
readonly
[$gpuRepr]:InferGPU
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:59
[$internal]
Section titled “[$internal]”
readonly
[$internal]:true
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:54
[$repr]
Section titled “[$repr]”
readonly
[$repr]:Infer
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:58
$
readonly
$:InferGPU
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:71
defaultValue
Section titled “defaultValue”
readonly
defaultValue:undefined
|TgpuFn
<() =>T
> |TgpuBufferUsage
<T
,BindableBufferUsage
> |Infer
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:63
resourceType
Section titled “resourceType”
readonly
resourceType:"accessor"
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:55
schema
Section titled “schema”
readonly
schema:T
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:62
readonly
slot:TgpuSlot
<TgpuBufferUsage
<T
,BindableBufferUsage
> |TgpuFn
<() =>T
> |Infer
<T
>>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:68
readonly
value:InferGPU
<T
>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:70
Methods
Section titled “Methods”$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