Skip to content

TgpuSlot

  • TgpuNamable

T

readonly [$gpuValueOf]: GPUValueOf<T>

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


readonly [$internal]: true

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


$

readonly $: GPUValueOf<T>

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


readonly defaultValue: undefined | T

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


readonly resourceType: "slot"

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


readonly value: GPUValueOf<T>

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

$name(label): this

string

this

TgpuNamable.$name

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


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:18