float4x4

Description

struct Tinman.Gpu.Types.float4x4

A 4x4 matrix that is stored in GPU memory in row-major order.

The logical layout of a matrix fully defines how operations are performed on it.

| m11 m12 m13 m14 |
| m21 m22 m23 m24 |
| m31 m32 m33 m34 |
| m41 m42 m43 m44 |

The memory layout of a matrix is only relevant when uploading matrix values onto the GPU.

Public / Operators

operator *


public static operator ++* → (2)

in : float4x4

The matrix.

in : float32

The factor.

returns → float4x4

The resulting matrix.

Multiplies all elements of the matrix with a factor.

Public / Attributes

m11


public attribute m11 → (float32)

The matrix element at row 1 and column 1.

m12


public attribute m12 → (float32)

The matrix element at row 1 and column 2.

m13


public attribute m13 → (float32)

The matrix element at row 1 and column 3.

m14


public attribute m14 → (float32)

The matrix element at row 1 and column 4.

m21


public attribute m21 → (float32)

The matrix element at row 2 and column 1.

m22


public attribute m22 → (float32)

The matrix element at row 2 and column 2.

m23


public attribute m23 → (float32)

The matrix element at row 2 and column 3.

m24


public attribute m24 → (float32)

The matrix element at row 2 and column 4.

m31


public attribute m31 → (float32)

The matrix element at row 3 and column 1.

m32


public attribute m32 → (float32)

The matrix element at row 3 and column 2.

m33


public attribute m33 → (float32)

The matrix element at row 3 and column 3.

m34


public attribute m34 → (float32)

The matrix element at row 3 and column 4.

m41


public attribute m41 → (float32)

The matrix element at row 4 and column 1.

m42


public attribute m42 → (float32)

The matrix element at row 4 and column 2.

m43


public attribute m43 → (float32)

The matrix element at row 4 and column 3.

m44


public attribute m44 → (float32)

The matrix element at row 4 and column 4.