Skip to content

TgpuSlot

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

  • TgpuNamable

T

readonly [$gpuValueOf]: GPUValueOf<T>

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


readonly [$internal]: true

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


readonly [$soul]: TgpuSlotSoul<T>

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


$

readonly $: GPUValueOf<T>

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


readonly defaultValue: T | undefined

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


readonly resourceType: "slot"

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

$name(label): this

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

string

this

TgpuNamable.$name


areEqual(a, b): boolean

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

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


toString(): string

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

Returns a string representation of an object.

string

© Software Mansion 2026. All trademarks and copyrights belong to their respective owners. Read about our Privacy Policy.