Describes a 4D vector consisting of four single-precision floating-point values.
For a list of additional functionality such as constructors and operators that are available using XMFLOAT4 when you are programming in C++, see XMFLOAT4 Extensions.
Note
See DirectXMath Library Type Equivalences for information about equivalent D3DDECLTYPE, D3DFORMAT, and DXGI_FORMAT objects.
struct XMFLOAT4
XMFLOAT4 can be loaded into instances of XMVECTOR by using XMLoadFloat4.
Instances of XMVECTOR can be stored into an instance of XMFLOAT4 with XMStoreFloat4.
Namespace: Use DirectX
Header: Declared in directxmath.h.