Skip to content

Mat2x2f

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

Mat2x2f(…elements): m2x2f

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

…[number, number, number, number]

m2x2f

packages/typegpu/src/data/wgslTypes.ts:1231

Mat2x2f(…columns): m2x2f

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

…[v2f, v2f]

m2x2f

packages/typegpu/src/data/wgslTypes.ts:1232

Mat2x2f(): m2x2f

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

m2x2f

packages/typegpu/src/data/wgslTypes.ts:1233

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

BaseData.[$internal]

packages/typegpu/src/data/wgslTypes.ts:41


readonly [$repr]: m2x2f

BaseData.[$repr]

packages/typegpu/src/data/wgslTypes.ts:1226


readonly [$validStorageSchema]: true

packages/typegpu/src/data/wgslTypes.ts:1227


readonly [$validUniformSchema]: true

packages/typegpu/src/data/wgslTypes.ts:1228


readonly type: "mat2x2f"

BaseData.type

packages/typegpu/src/data/wgslTypes.ts:1223

identity(): m2x2f

m2x2f

packages/typegpu/src/data/wgslTypes.ts:1234