Skip to content

Mat2x2f

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

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

Mat2x2f(…elements): m2x2f

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

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

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

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

m2x2f

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

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


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

BaseData.[$repr]


readonly [$validStorageSchema]: true

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


readonly [$validUniformSchema]: true

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


readonly primitive: F32

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


readonly type: "mat2x2f"

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

BaseData.type

identity(): m2x2f

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

m2x2f


toString(): string

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

string

BaseData.toString