Skip to content

Mat4x4f

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

Mat4x4f(…elements): m4x4f

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

…[number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]

m4x4f

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

Mat4x4f(…columns): m4x4f

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

…[v4f, v4f, v4f, v4f]

m4x4f

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

Mat4x4f(): m4x4f

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

m4x4f

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

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

BaseData.[$internal]

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


readonly [$repr]: m4x4f

BaseData.[$repr]

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


readonly [$validStorageSchema]: true

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


readonly [$validUniformSchema]: true

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


readonly type: "mat4x4f"

BaseData.type

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

identity(): m4x4f

m4x4f

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


rotationX(angle): m4x4f

number

m4x4f

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


rotationY(angle): m4x4f

number

m4x4f

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


rotationZ(angle): m4x4f

number

m4x4f

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


scaling(vec): m4x4f

v3f

m4x4f

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


translation(vec): m4x4f

v3f

m4x4f

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