Skip to content

TgpuAccessor

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

  • TgpuNamable

T extends BaseData = BaseData

readonly [$gpuValueOf]: InferGPU<T>

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


readonly [$internal]: true

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


readonly [$soul]: TgpuAccessorSoul<T, In<T>>

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


$

readonly $: InferGPU<T>

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


readonly defaultValue: In<T> | undefined

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


readonly resourceType: "accessor"

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


readonly schema: T

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


readonly slot: TgpuSlot<In<T>>

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

$name(label): this

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

string

this

TgpuNamable.$name


toString(): string

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

Returns a string representation of an object.

string