Skip to content

TgpuAccessor

Defined in: packages/typegpu/src/core/slot/slotTypes.ts:53

  • TgpuNamable

T extends AnyData = AnyData

readonly [$gpuRepr]: InferGPU<T>

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


readonly [$internal]: true

Defined in: packages/typegpu/src/core/slot/slotTypes.ts:54


readonly [$repr]: Infer<T>

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


$

readonly $: InferGPU<T>

Defined in: packages/typegpu/src/core/slot/slotTypes.ts:71


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

Defined in: packages/typegpu/src/core/slot/slotTypes.ts:63


readonly resourceType: "accessor"

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


readonly schema: T

Defined in: packages/typegpu/src/core/slot/slotTypes.ts:62


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

Defined in: packages/typegpu/src/core/slot/slotTypes.ts:68


readonly value: InferGPU<T>

Defined in: packages/typegpu/src/core/slot/slotTypes.ts:70

$name(label): this

Defined in: packages/typegpu/src/shared/meta.ts:83

string

this

TgpuNamable.$name