Skip to content

Vec2u

Defined in: packages/typegpu/src/data/wgslTypes.ts:787

Type of the d.vec2u object/function: vector data type schema/constructor

Vec2u(x, y): v2u

Defined in: packages/typegpu/src/data/wgslTypes.ts:791

Type of the d.vec2u object/function: vector data type schema/constructor

number

number

v2u

Vec2u(xy): v2u

Defined in: packages/typegpu/src/data/wgslTypes.ts:792

Type of the d.vec2u object/function: vector data type schema/constructor

number

v2u

Vec2u(): v2u

Defined in: packages/typegpu/src/data/wgslTypes.ts:793

Type of the d.vec2u object/function: vector data type schema/constructor

v2u

Vec2u(v): v2u

Defined in: packages/typegpu/src/data/wgslTypes.ts:794

Type of the d.vec2u object/function: vector data type schema/constructor

AnyNumericVec2Instance

v2u

optional [$gpuCallableStrictSignature]: GPUCallableStrictSignature

Defined in: packages/typegpu/src/types.ts:484

DualFn.[$gpuCallableStrictSignature]


readonly [$inRepr]: v2u | readonly [number, number] | Uint32Array<ArrayBufferLike>

Defined in: packages/typegpu/src/data/wgslTypes.ts:802


readonly [$internal]: Record<string, unknown>

Defined in: packages/typegpu/src/data/wgslTypes.ts:46

BaseData.[$internal]


readonly [$repr]: v2u

Defined in: packages/typegpu/src/data/wgslTypes.ts:801

BaseData.[$repr]


readonly [$validStorageSchema]: true

Defined in: packages/typegpu/src/data/wgslTypes.ts:803


readonly [$validUniformSchema]: true

Defined in: packages/typegpu/src/data/wgslTypes.ts:804


readonly [$validVertexSchema]: true

Defined in: packages/typegpu/src/data/wgslTypes.ts:805


readonly componentCount: 2

Defined in: packages/typegpu/src/data/wgslTypes.ts:798


readonly primitive: U32

Defined in: packages/typegpu/src/data/wgslTypes.ts:797


readonly type: "vec2u"

Defined in: packages/typegpu/src/data/wgslTypes.ts:796

BaseData.type

[$gpuCallable](ctx, args): Snippet

Defined in: packages/typegpu/src/types.ts:483

ResolutionCtx

readonly [Snippet]

Snippet

DualFn.[$gpuCallable]


toString(): string

Defined in: packages/typegpu/src/data/wgslTypes.ts:49

string

BaseData.toString

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