Skip to content

m4x4f

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

mat4x4.[$internal]

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


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

Iterator<number>

mat4x4.[iterator]

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


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

mat4x4.columns

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


readonly kind: "mat4x4f"

mat4x4.kind

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


readonly length: 16

mat4x4.length

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

[operatorMinus](lhs, rhs): m4x4f

m4x4f

m4x4f

m4x4f

matInfixNotation.[operatorMinus]

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


[operatorPlus](lhs, rhs): m4x4f

m4x4f

m4x4f

m4x4f

matInfixNotation.[operatorPlus]

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


[operatorStar](lhs, rhs): m4x4f

number | m4x4f

number | m4x4f

m4x4f

matInfixNotation.[operatorStar]

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

[operatorStar](lhs, rhs): v4f

m4x4f

v4f

v4f

matInfixNotation.[operatorStar]

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

[operatorStar](lhs, rhs): v4f

v4f

m4x4f

v4f

matInfixNotation.[operatorStar]

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


add(other): m4x4f

m4x4f

m4x4f

matInfixNotation.add

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


mul(other): m4x4f

number | m4x4f

m4x4f

matInfixNotation.mul

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

mul(other): v4f

v4f

v4f

matInfixNotation.mul

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


sub(other): m4x4f

m4x4f

m4x4f

matInfixNotation.sub

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