Skip to content

TgpuAccessor

  • TgpuNamable

T extends AnyData = AnyData

readonly [$gpuValueOf]: InferGPU<T>

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


readonly [$internal]: true

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


$

readonly $: InferGPU<T>

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


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

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


readonly resourceType: "accessor"

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


readonly schema: T

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


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

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


readonly value: InferGPU<T>

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

$name(label): this

string

this

TgpuNamable.$name

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