m2x2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:694
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
Defined in: packages/typegpu/src/data/wgslTypes.ts:683
Inherited from
Section titled “Inherited from”mat2x2.[$internal]
[iterator]()
Section titled “[iterator]()”[iterator]: () =>
Iterator
<number
>
Defined in: packages/typegpu/src/data/wgslTypes.ts:40
Returns
Section titled “Returns”Iterator
<number
>
Inherited from
Section titled “Inherited from”mat2x2.[iterator]
columns
Section titled “columns”Defined in: packages/typegpu/src/data/wgslTypes.ts:686
Inherited from
Section titled “Inherited from”mat2x2.columns
readonly
kind:"mat2x2f"
Defined in: packages/typegpu/src/data/wgslTypes.ts:695
Overrides
Section titled “Overrides”mat2x2.kind
length
Section titled “length”
readonly
length:4
Defined in: packages/typegpu/src/data/wgslTypes.ts:684
Inherited from
Section titled “Inherited from”mat2x2.length
Methods
Section titled “Methods”add(
other
):m2x2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:73
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”matInfixNotation.add
Call Signature
Section titled “Call Signature”mul(
other
):m2x2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:77
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”matInfixNotation.mul
Call Signature
Section titled “Call Signature”mul(
other
):v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:78
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”matInfixNotation.mul
Call Signature
Section titled “Call Signature”mul(
other
):m2x2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:79
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”matInfixNotation.mul
sub(
other
):m2x2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:75
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”matInfixNotation.sub