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

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

Mat4x4f(): m4x4f

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

m4x4f

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

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

BaseData.[$internal]

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


readonly [$repr]: m4x4f

BaseData.[$repr]

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


readonly [$validStorageSchema]: true

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


readonly [$validUniformSchema]: true

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


readonly primitive: F32

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


readonly type: "mat4x4f"

BaseData.type

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

identity(): m4x4f

m4x4f

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


rotationX(angle): m4x4f

number

m4x4f

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


rotationY(angle): m4x4f

number

m4x4f

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


rotationZ(angle): m4x4f

number

m4x4f

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


scaling(vec): m4x4f

v3f

m4x4f

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


toString(): string

string

BaseData.toString

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


translation(vec): m4x4f

v3f

m4x4f

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