Skip to content

Vec2h

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

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

Vec2h(x, y): v2h

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

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

number

number

v2h

Vec2h(xy): v2h

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

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

number

v2h

Vec2h(): v2h

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

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

v2h

Vec2h(v): v2h

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

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

AnyNumericVec2Instance

v2h

optional [$gpuCallableStrictSignature]: GPUCallableStrictSignature

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

DualFn.[$gpuCallableStrictSignature]


readonly [$inRepr]: v2h | readonly [number, number] | Float16Array<ArrayBufferLike>

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


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

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

BaseData.[$internal]


readonly [$repr]: v2h

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

BaseData.[$repr]


readonly [$validStorageSchema]: true

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


readonly [$validUniformSchema]: true

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


readonly [$validVertexSchema]: true

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


readonly componentCount: 2

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


readonly primitive: F16

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


readonly type: "vec2h"

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

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.