Skip to content

m2x2f

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

Interface representing its WGSL matrix type counterpart: mat2x2f or mat2x2 A matrix with 2 rows and 2 columns, with elements of type d.f32

[n: number]: number

readonly [$internal]: true

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

mat2x2.[$internal]


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

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

Iterator<number>

mat2x2.[iterator]


readonly columns: readonly [v2f, v2f]

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

mat2x2.columns


readonly kind: "mat2x2f"

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

mat2x2.kind


readonly length: 4

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

mat2x2.length

add(other): m2x2f

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

m2x2f

m2x2f

matInfixNotation.add


mul(other): m2x2f

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

number

m2x2f

matInfixNotation.mul

mul(other): v2f

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

v2f

v2f

matInfixNotation.mul

mul(other): m2x2f

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

m2x2f

m2x2f

matInfixNotation.mul


sub(other): m2x2f

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

m2x2f

m2x2f

matInfixNotation.sub