Skip to content

Vec4i

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

  • BaseData.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:956

Vec4i(xyzw): v4i

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

number

v4i

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

Vec4i(): v4i

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

v4i

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

Vec4i(v): v4i

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

AnyNumericVec4Instance

v4i

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

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:960

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:961

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:962

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:963

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:964

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:965

[$gpuCallable]: object

optional strictSignature: object

argTypes: (BaseData | BaseData[])[]

returnType: BaseData

ResolutionCtx

[Snippet, Snippet, Snippet]

Snippet

DualFn.[$gpuCallable]

packages/typegpu/src/types.ts:340


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

BaseData.[$internal]

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


readonly [$repr]: v4i

BaseData.[$repr]

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


readonly [$validStorageSchema]: true

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


readonly [$validUniformSchema]: true

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


readonly [$validVertexSchema]: true

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


readonly componentCount: 4

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


readonly primitive: I32

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


readonly type: "vec4i"

BaseData.type

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

toString(): string

string

BaseData.toString

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