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

Mat2x2f(…columns): m2x2f

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

…[v2f, v2f]

m2x2f

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

Mat2x2f(): m2x2f

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

m2x2f

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

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

BaseData.[$internal]

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


readonly [$repr]: m2x2f

BaseData.[$repr]

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


readonly [$validStorageSchema]: true

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


readonly [$validUniformSchema]: true

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


readonly primitive: F32

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


readonly type: "mat2x2f"

BaseData.type

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

identity(): m2x2f

m2x2f

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


toString(): string

string

BaseData.toString

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