Skip to content

Mat2x2f

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

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

Mat2x2f(…elements): m2x2f

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

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:1209

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

…[v2f, v2f]

m2x2f

Mat2x2f(): m2x2f

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

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

m2x2f

readonly [$internal]: true | Record<string, any>

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

BaseData.[$internal]


readonly [$repr]: m2x2f

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

BaseData.[$repr]


readonly [$validStorageSchema]: true

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


readonly [$validUniformSchema]: true

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


readonly type: "mat2x2f"

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

BaseData.type

identity(): m2x2f

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

m2x2f