TgpuAccessor
Extends
Section titled “Extends”TgpuNamable
Type Parameters
Section titled “Type Parameters”• T extends BaseData = BaseData
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:54
$
readonly$:InferGPU<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:66
defaultValue
Section titled “defaultValue”
readonlydefaultValue:undefined|In<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:58
resourceType
Section titled “resourceType”
readonlyresourceType:"accessor"
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:55
schema
Section titled “schema”
readonlyschema:T
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:57
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:59
readonlyvalue:InferGPU<T>
Defined in
Section titled “Defined in”packages/typegpu/src/core/slot/slotTypes.ts:65
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