Skip to content

TgpuAccessor

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

  • TgpuNamable

T extends AnyData = AnyData

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


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

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


readonly resourceType: "accessor"

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


readonly schema: T

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


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

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


readonly value: InferGPU<T>

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

[$gpuValueOf](ctx): InferGPU<T>

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

ResolutionCtx

InferGPU<T>


$name(label): this

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

string

this

TgpuNamable.$name