m2x2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:536
Interface representing its WGSL matrix type counterpart: mat2x2f or mat2x2
Extends
Section titled “Extends”mat2x2<v2f>.matInfixNotation<m2x2f>
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:525
Inherited from
Section titled “Inherited from”mat2x2.[$internal]
[iterator]()
Section titled “[iterator]()”[iterator]: () =>
Iterator<number>
Defined in: packages/typegpu/src/data/wgslTypes.ts:55
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:528
Inherited from
Section titled “Inherited from”mat2x2.columns
readonlykind:"mat2x2f"
Defined in: packages/typegpu/src/data/wgslTypes.ts:537
Overrides
Section titled “Overrides”mat2x2.kind
length
Section titled “length”
readonlylength:4
Defined in: packages/typegpu/src/data/wgslTypes.ts:526
Inherited from
Section titled “Inherited from”mat2x2.length
Methods
Section titled “Methods”[operatorMinus]()
Section titled “[operatorMinus]()”[operatorMinus](
lhs,rhs):m2x2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:121
Parameters
Section titled “Parameters”m2x2f
m2x2f
Returns
Section titled “Returns”m2x2f
Inherited from
Section titled “Inherited from”matInfixNotation.[operatorMinus]
[operatorPlus]()
Section titled “[operatorPlus]()”[operatorPlus](
lhs,rhs):m2x2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:120
Parameters
Section titled “Parameters”m2x2f
m2x2f
Returns
Section titled “Returns”m2x2f
Inherited from
Section titled “Inherited from”matInfixNotation.[operatorPlus]
[operatorStar]()
Section titled “[operatorStar]()”Call Signature
Section titled “Call Signature”[operatorStar](
lhs,rhs):m2x2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:122
Parameters
Section titled “Parameters”number | m2x2f
number | m2x2f
Returns
Section titled “Returns”m2x2f
Inherited from
Section titled “Inherited from”matInfixNotation.[operatorStar]
Call Signature
Section titled “Call Signature”[operatorStar](
lhs,rhs):v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:123
Parameters
Section titled “Parameters”m2x2f
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”matInfixNotation.[operatorStar]
Call Signature
Section titled “Call Signature”[operatorStar](
lhs,rhs):v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:124
Parameters
Section titled “Parameters”m2x2f
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”matInfixNotation.[operatorStar]
add(
other):m2x2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:115
Parameters
Section titled “Parameters”m2x2f
Returns
Section titled “Returns”m2x2f
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:117
Parameters
Section titled “Parameters”number | m2x2f
Returns
Section titled “Returns”m2x2f
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:118
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:116
Parameters
Section titled “Parameters”m2x2f
Returns
Section titled “Returns”m2x2f
Inherited from
Section titled “Inherited from”matInfixNotation.sub