XMUINT4 structure (directxmath.h)
A 4D vector where each component is an unsigned integer.
For a list of additional functionality such as constructors and operators that are available using XMUINT4
when you
are programming in C++, see XMUINT4 Extensions.
Syntax
struct XMUINT4 {
uint32_t x;
uint32_t y;
uint32_t z;
uint32_t w;
void XMUINT4();
void XMUINT4(
const XMUINT4 & unnamedParam1
);
XMUINT4 & operator=(
const XMUINT4 & unnamedParam1
);
void XMUINT4(
XMUINT4 && unnamedParam1
);
XMUINT4 & operator=(
XMUINT4 && unnamedParam1
);
void XMUINT4(
uint32_t _x,
uint32_t _y,
uint32_t _z,
uint32_t _w
) noexcept;
void XMUINT4(
const uint32_t *pArray
) noexcept;
bool operator==(
const XMUINT4 & unnamedParam1
);
auto operator<=>(
const XMUINT4 & unnamedParam1
);
};
Members
x
Unsigned integer value describing the x-coordinate of the vector.
y
Unsigned integer value describing the y-coordinate of the vector.
z
Unsigned integer value describing the z-coordinate of the vector.
w
Unsigned integer value describing the w-coordinate of the vector.
Default constructor for XMUINT4
.
Default constructor for XMUINT4.
void XMUINT4( const XMUINT4 & unnamedParam1)
A constructor for XMUINT4
.
A constructor for XMUINT4.
XMUINT4 & operator=( const XMUINT4 & unnamedParam1)
Assigns the vector component data from one instance of XMUINT4
to the current instance of XMUINT4
.
This operator assigns the vector component data from one instance of XMUINT4 to the current instance of XMUINT4
.
void XMUINT4( XMUINT4 && unnamedParam1)
A constructor for XMUINT4
.
A constructor for XMUINT4.
XMUINT4 & operator=( XMUINT4 && unnamedParam1)
void XMUINT4( uint32_t _x, uint32_t _y, uint32_t _z, uint32_t _w) noexcept
Initializes a new instance of XMUINT4
from four uint32_t
arguments.
This constructor initializes a new instance of XMUINT4 from four
uint32_t
arguments.
void XMUINT4( const uint32_t *pArray) noexcept
Initializes a new instance of XMUINT4 from a four element uint32_t
array argument.
This constructor initializes a new instance of XMUINT4 from a four element uint32_t
array argument.
bool operator==( const XMUINT4 & unnamedParam1)
auto operator<=>( const XMUINT4 & unnamedParam1)
Remarks
You can use XMLoadUInt4 to load XMUINT4
into instances
of XMVECTOR.
You can use XMStoreUInt4 to store instances of XMVECTOR
into an instance of XMUINT4
.
Namespace: Use DirectX
Platform Requirements
Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.Requirements
Requirement | Value |
---|---|
Header | directxmath.h |