m2x2f
Interface representing its WGSL matrix type counterpart: mat2x2f or mat2x2
Extends
Section titled “Extends”Indexable
Section titled “Indexable”[n: number]: number
Properties
Section titled “Properties”[$internal]
Section titled “[$internal]”
readonly[$internal]:true
Inherited from
Section titled “Inherited from”mat2x2.[$internal]
Defined in
Section titled “Defined in”packages/typegpu/src/data/wgslTypes.ts:704
[iterator]()
Section titled “[iterator]()”[iterator]: () =>
Iterator<number>
Returns
Section titled “Returns”Iterator<number>
Inherited from
Section titled “Inherited from”mat2x2.[iterator]
Defined in
Section titled “Defined in”packages/typegpu/src/data/wgslTypes.ts:49
columns
Section titled “columns”Inherited from
Section titled “Inherited from”mat2x2.columns
Defined in
Section titled “Defined in”packages/typegpu/src/data/wgslTypes.ts:707
readonlykind:"mat2x2f"
Overrides
Section titled “Overrides”mat2x2.kind
Defined in
Section titled “Defined in”packages/typegpu/src/data/wgslTypes.ts:716
length
Section titled “length”
readonlylength:4
Inherited from
Section titled “Inherited from”mat2x2.length
Defined in
Section titled “Defined in”packages/typegpu/src/data/wgslTypes.ts:705
Methods
Section titled “Methods”add(
other):m2x2f
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”matInfixNotation.add
Defined in
Section titled “Defined in”packages/typegpu/src/data/wgslTypes.ts:82
Call Signature
Section titled “Call Signature”mul(
other):m2x2f
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”matInfixNotation.mul
Defined in
Section titled “Defined in”packages/typegpu/src/data/wgslTypes.ts:86
Call Signature
Section titled “Call Signature”mul(
other):v2f
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”matInfixNotation.mul
Defined in
Section titled “Defined in”packages/typegpu/src/data/wgslTypes.ts:87
Call Signature
Section titled “Call Signature”mul(
other):m2x2f
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”matInfixNotation.mul
Defined in
Section titled “Defined in”packages/typegpu/src/data/wgslTypes.ts:88
sub(
other):m2x2f
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”matInfixNotation.sub