Skip to content

m4x4f

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

Interface representing its WGSL matrix type counterpart: mat4x4f or mat4x4 A matrix with 4 rows and 4 columns, with elements of type d.f32

[n: number]: number

readonly [$internal]: true

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

mat4x4.[$internal]


[iterator]: () => Iterator<number>

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

Iterator<number>

mat4x4.[iterator]


readonly columns: readonly [v4f, v4f, v4f, v4f]

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

mat4x4.columns


readonly kind: "mat4x4f"

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

mat4x4.kind


readonly length: 16

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

mat4x4.length

add(other): m4x4f

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

m4x4f

m4x4f

matInfixNotation.add


mul(other): m4x4f

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

number

m4x4f

matInfixNotation.mul

mul(other): v4f

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

v4f

v4f

matInfixNotation.mul

mul(other): m4x4f

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

m4x4f

m4x4f

matInfixNotation.mul


sub(other): m4x4f

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

m4x4f

m4x4f

matInfixNotation.sub