TgpuAccessor
Extends
Section titled “Extends”TgpuNamable
Type Parameters
Section titled “Type Parameters”Properties
Section titled “Properties”[$gpuValueOf]
Section titled “[$gpuValueOf]”
readonly[$gpuValueOf]:InferGPU<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:57
[$internal]
Section titled “[$internal]”
readonly[$internal]:true
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:46
$
readonly$:InferGPU<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:59
defaultValue
Section titled “defaultValue”
readonlydefaultValue:undefined|TgpuFn<() =>T> |TgpuBufferUsage<T,BindableBufferUsage> |Infer<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:50
resourceType
Section titled “resourceType”
readonlyresourceType:"accessor"
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:47
schema
Section titled “schema”
readonlyschema:T
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:49
readonlyslot:TgpuSlot<TgpuBufferUsage<T,BindableBufferUsage> |TgpuFn<() =>T> |Infer<T>>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:55
readonlyvalue:InferGPU<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:58
Methods
Section titled “Methods”$name()
Section titled “$name()”$name(
label):this
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”TgpuNamable.$name