Skip to content

TgpuSlot

  • TgpuNamable

T

readonly [$gpuValueOf]: GPUValueOf<T>

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


readonly [$internal]: true

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


$

readonly $: GPUValueOf<T>

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


readonly defaultValue: undefined | T

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


readonly resourceType: "slot"

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


readonly value: GPUValueOf<T>

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

$name(label): this

string

this

TgpuNamable.$name

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


areEqual(a, b): boolean

Used to determine if code generated using either value a or b in place of the slot will be equivalent. Defaults to Object.is.

T

T

boolean

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


toString(): string

Returns a string representation of an object.

string

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