Skip to content

Vec4h

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

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

  • DualFn<(x, y, z, w) => v4h & (xyzw) => v4h & () => v4h & (v) => v4h & (v0, w) => v4h & (x, v0) => v4h & (v0, v1) => v4h & (v0, z, w) => v4h & (x, v0, z) => v4h & (x, y, v0) => v4h>

Vec4h(x, y, z, w): v4h

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

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

number

number

number

number

v4h

Vec4h(xyzw): v4h

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

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

number

v4h

Vec4h(): v4h

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

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

v4h

Vec4h(v): v4h

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

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

AnyNumericVec4Instance

v4h

Vec4h(v0, w): v4h

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

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

AnyNumericVec3Instance

number

v4h

Vec4h(x, v0): v4h

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

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

number

AnyNumericVec3Instance

v4h

Vec4h(v0, v1): v4h

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

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

AnyNumericVec2Instance

AnyNumericVec2Instance

v4h

Vec4h(v0, z, w): v4h

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

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

AnyNumericVec2Instance

number

number

v4h

Vec4h(x, v0, z): v4h

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

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

number

AnyNumericVec2Instance

number

v4h

Vec4h(x, y, v0): v4h

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

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

number

number

AnyNumericVec2Instance

v4h

readonly [$internal]: object

Defined in: packages/typegpu/src/data/dualFn.ts:8

argConversionHint: FnArgsConversionHint

gpuImpl: (…args) => Snippet

…[Snippet, Snippet, Snippet]

Snippet

jsImpl: (x, y, z, w) => v4h & (xyzw) => v4h & () => v4h & (v) => v4h & (v0, w) => v4h & (x, v0) => v4h & (v0, v1) => v4h & (v0, z, w) => v4h & (x, v0, z) => v4h & (x, y, v0) => v4h

DualFn.[$internal]


readonly [$repr]: v4h

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


readonly [$validStorageSchema]: true

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


readonly [$validUniformSchema]: true

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


readonly [$validVertexSchema]: true

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


readonly type: "vec4h"

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