Skip to content

TgpuAccessor

  • TgpuNamable

T extends AnyData = AnyData

readonly [$gpuValueOf]: InferGPU<T>

packages/typegpu/src/core/slot/slotTypes.ts:57


readonly [$internal]: true

packages/typegpu/src/core/slot/slotTypes.ts:46


$

readonly $: InferGPU<T>

packages/typegpu/src/core/slot/slotTypes.ts:59


readonly defaultValue: undefined | TgpuFn<() => T> | TgpuBufferUsage<T, BindableBufferUsage> | Infer<T>

packages/typegpu/src/core/slot/slotTypes.ts:50


readonly resourceType: "accessor"

packages/typegpu/src/core/slot/slotTypes.ts:47


readonly schema: T

packages/typegpu/src/core/slot/slotTypes.ts:49


readonly slot: TgpuSlot<TgpuBufferUsage<T, BindableBufferUsage> | TgpuFn<() => T> | Infer<T>>

packages/typegpu/src/core/slot/slotTypes.ts:55


readonly value: InferGPU<T>

packages/typegpu/src/core/slot/slotTypes.ts:58

$name(label): this

string

this

TgpuNamable.$name

packages/typegpu/src/shared/meta.ts:87