Skip to content

TgpuSlot

  • TgpuNamable

T

readonly [$gpuValueOf]: GPUValueOf<T>

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


readonly [$internal]: true

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


$

readonly $: GPUValueOf<T>

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


readonly defaultValue: undefined | T

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


readonly resourceType: "slot"

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


readonly value: GPUValueOf<T>

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

$name(label): this

string

this

TgpuNamable.$name

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


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