Skip to content

m3x3f

Interface representing its WGSL matrix type counterpart: mat3x3f or mat3x3 A matrix with 3 rows and 3 columns, with elements of type d.f32

[n: number]: number

readonly [$internal]: true

mat3x3.[$internal]

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


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

Iterator<number>

mat3x3.[iterator]

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


readonly columns: readonly [v3f, v3f, v3f]

mat3x3.columns

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


readonly kind: "mat3x3f"

mat3x3.kind

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


readonly length: 12

mat3x3.length

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

[operatorMinus](lhs, rhs): m3x3f

m3x3f

m3x3f

m3x3f

matInfixNotation.[operatorMinus]

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


[operatorPlus](lhs, rhs): m3x3f

m3x3f

m3x3f

m3x3f

matInfixNotation.[operatorPlus]

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


[operatorStar](lhs, rhs): m3x3f

number | m3x3f

number | m3x3f

m3x3f

matInfixNotation.[operatorStar]

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

[operatorStar](lhs, rhs): v3f

m3x3f

v3f

v3f

matInfixNotation.[operatorStar]

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

[operatorStar](lhs, rhs): v3f

v3f

m3x3f

v3f

matInfixNotation.[operatorStar]

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


add(other): m3x3f

m3x3f

m3x3f

matInfixNotation.add

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


mul(other): m3x3f

number | m3x3f

m3x3f

matInfixNotation.mul

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

mul(other): v3f

v3f

v3f

matInfixNotation.mul

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


sub(other): m3x3f

m3x3f

m3x3f

matInfixNotation.sub

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