XMFLOAT3 Structure

Describes a 3D vector consisting of three single-precision floating-point values.

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

Note

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

Syntax

struct XMFLOAT3  

Remarks

XMFLOAT3 can be loaded into instances of XMVECTOR by using XMLoadFloat3.

Instances of XMVECTOR can be stored into an instance of XMFLOAT3 with XMStoreFloat3.

Namespace: Use DirectX

Requirements

Header: Declared in directxmath.h.