Skip to content

Mat2x2f

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

Type of the d.mat2x2f object/function: matrix data type schema/constructor

Mat2x2f(…elements): m2x2f

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

Type of the d.mat2x2f object/function: matrix data type schema/constructor

…[number, number, number, number]

m2x2f

Mat2x2f(…columns): m2x2f

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

Type of the d.mat2x2f object/function: matrix data type schema/constructor

…[v2f, v2f]

m2x2f

Mat2x2f(other): m2x2f

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

Type of the d.mat2x2f object/function: matrix data type schema/constructor

m2x2f

m2x2f

Mat2x2f(): m2x2f

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

Type of the d.mat2x2f object/function: matrix data type schema/constructor

m2x2f

readonly [$inRepr]: m2x2f | Float32Array<ArrayBufferLike> | readonly [number, number, number, number]

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


readonly [$internal]: Record<string, unknown>

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

BaseData.[$internal]


readonly [$repr]: m2x2f

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

BaseData.[$repr]


readonly [$validStorageSchema]: true

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


readonly [$validUniformSchema]: true

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


readonly primitive: F32

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


readonly type: "mat2x2f"

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

BaseData.type

identity(): m2x2f

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

m2x2f


toString(): string

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

string

BaseData.toString

© Software Mansion 2026. All trademarks and copyrights belong to their respective owners. Read about our Privacy Policy.