Skip to content

Vec3i

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

Vec3i(x, y, z): v3i

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

number

number

number

v3i

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

Vec3i(xyz): v3i

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

number

v3i

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

Vec3i(): v3i

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

v3i

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

Vec3i(v): v3i

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

AnyNumericVec3Instance

v3i

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

Vec3i(v0, z): v3i

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

AnyNumericVec2Instance

number

v3i

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

Vec3i(x, v0): v3i

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

number

AnyNumericVec2Instance

v3i

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

[$gpuCallable]: object

optional strictSignature: object

argTypes: (BaseData | BaseData[])[]

returnType: BaseData

ResolutionCtx

[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]: v3i

BaseData.[$repr]

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


readonly [$validStorageSchema]: true

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


readonly [$validUniformSchema]: true

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


readonly [$validVertexSchema]: true

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


readonly componentCount: 3

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


readonly primitive: I32

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


readonly type: "vec3i"

BaseData.type

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

toString(): string

string

BaseData.toString

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