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:61
[$internal]
Section titled “[$internal]”
readonly[$internal]:true
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:47
$
readonly$:InferGPU<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:63
defaultValue
Section titled “defaultValue”
readonlydefaultValue:undefined|TgpuFn<() =>T> |TgpuBufferUsage<T,BindableBufferUsage> |TgpuBufferShorthand<T> |Infer<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:51
resourceType
Section titled “resourceType”
readonlyresourceType:"accessor"
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:48
schema
Section titled “schema”
readonlyschema:T
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:50
readonlyslot:TgpuSlot<TgpuBufferUsage<T,BindableBufferUsage> |TgpuBufferShorthand<T> |TgpuFn<() =>T> |Infer<T>>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:57
readonlyvalue:InferGPU<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:62
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