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”
readonlydefaultValue:undefined|TgpuFn<() =>T> |TgpuBufferUsage<T,BindableBufferUsage> |Infer<T>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:51
resourceType
Section titled “resourceType”
readonlyresourceType:"accessor"
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:48
schema
Section titled “schema”
readonlyschema:T
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:50
readonlyslot:TgpuSlot<TgpuBufferUsage<T,BindableBufferUsage> |TgpuFn<() =>T> |Infer<T>>
Defined in: packages/typegpu/src/core/slot/slotTypes.ts:56
readonlyvalue: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