Skip to content

Mat2x2f

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

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

Mat2x2f(…elements): m2x2f

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

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

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

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

m2x2f

readonly [$internal]: true

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

BaseData.[$internal]


readonly [$repr]: m2x2f

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

BaseData.[$repr]


readonly [$validStorageSchema]: true

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


readonly [$validUniformSchema]: true

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


readonly type: "mat2x2f"

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

BaseData.type

identity(): m2x2f

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

m2x2f