XMVECTORU32 Structure

An opaque, portable type to support the use of C/C++ initializer syntax to load uint32_t values into an instance of XMVECTOR type.

Syntax

struct XMVECTORU32  

Remarks

If you are programming in C++, you can use the methods of this structure.

The XMVECTORF32, XMVECTORU32, XMVECTORI32, and XMVECTORU8 structures are provided as a mechanism for creating XMVECTOR from different constant data types (floating point, unsigned integer, integer, and byte) using initializers.

This is necessary to support XMVECTOR, as it does not itself support initializers, for portability and optimization reasons.

For example:

XMVECTOR data;
XMVECTORU32 uintVector = { 0xf7000000, 0x8310000, 0x1000000, 0 };
data = uintVector;  

Namespace: Use DirectX

Requirements

Header: Declared in directxmath.h.