Skip to content

Vec4i

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

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

Vec4i(x, y, z, w): v4i

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

number

number

number

number

v4i

packages/typegpu/src/data/wgslTypes.ts:1143

Vec4i(xyzw): v4i

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

number

v4i

packages/typegpu/src/data/wgslTypes.ts:1144

Vec4i(): v4i

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

v4i

packages/typegpu/src/data/wgslTypes.ts:1145

Vec4i(v): v4i

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

AnyNumericVec4Instance

v4i

packages/typegpu/src/data/wgslTypes.ts:1146

Vec4i(v0, w): v4i

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

AnyNumericVec3Instance

number

v4i

packages/typegpu/src/data/wgslTypes.ts:1147

Vec4i(x, v0): v4i

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

number

AnyNumericVec3Instance

v4i

packages/typegpu/src/data/wgslTypes.ts:1148

Vec4i(v0, v1): v4i

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

AnyNumericVec2Instance

AnyNumericVec2Instance

v4i

packages/typegpu/src/data/wgslTypes.ts:1149

Vec4i(v0, z, w): v4i

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

AnyNumericVec2Instance

number

number

v4i

packages/typegpu/src/data/wgslTypes.ts:1150

Vec4i(x, v0, z): v4i

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

number

AnyNumericVec2Instance

number

v4i

packages/typegpu/src/data/wgslTypes.ts:1151

Vec4i(x, y, v0): v4i

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

number

number

AnyNumericVec2Instance

v4i

packages/typegpu/src/data/wgslTypes.ts:1152

readonly [$internal]: object

argConversionHint: FnArgsConversionHint

gpuImpl: (…args) => Snippet

…[Snippet, Snippet, Snippet]

Snippet

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

DualFn.[$internal]

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


readonly [$repr]: v4i

packages/typegpu/src/data/wgslTypes.ts:1158


readonly [$validStorageSchema]: true

packages/typegpu/src/data/wgslTypes.ts:1159


readonly [$validUniformSchema]: true

packages/typegpu/src/data/wgslTypes.ts:1160


readonly [$validVertexSchema]: true

packages/typegpu/src/data/wgslTypes.ts:1161


readonly primitive: I32

packages/typegpu/src/data/wgslTypes.ts:1155


readonly type: "vec4i"

packages/typegpu/src/data/wgslTypes.ts:1154