XMFLOAT4X4 Structure

A 4*4 floating point matrix.

For a list of additional functionality such as constructors and operators that are available using XMFLOAT4X4 when you are programming in C++, see XMFLOAT4X4 Extensions.

Note

See DirectXMath Library Type Equivalences for information about equivalent D3DDECLTYPE, D3DFORMAT, and DXGI_FORMAT objects.

Syntax

struct XMFLOAT4X4  

Remarks

Scalar members of XMFLOAT4X4 are of the form _RowCol, and provide one based indexing, where Row specifies the one’s based matrix row (running from 1 to 4), and Col specifies the one’s based matrix column (running from 1 to 4).

The two dimensional 44 array member of XMFLOAT4X4, m, provides zero based indexing of the structure’s matrix. When accessing XMFLOAT4X4m[Row,Col], *Row can run from 0 to 3 and Col can run from 0 to 3.

XMFLOAT4X4 can be loaded into instances of XMVECTOR by using XMLoadFloat4x4.

Instances of XMVECTOR can be stored into an instance of XMFLOAT4X4 with XMStoreFloat4x4.

Namespace: Use DirectX

Requirements

Header: Declared in directxmath.h.