XMUINT3 structure (directxmath.h)

A 3D vector where each component is an unsigned integer.

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

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

Syntax

struct XMUINT3 {
  uint32_t  x;
  uint32_t  y;
  uint32_t  z;
  void      XMUINT3();
  void      XMUINT3(
    const XMUINT3 & unnamedParam1
  );
  XMUINT3 & operator=(
    const XMUINT3 & unnamedParam1
  );
  void      XMUINT3(
    XMUINT3 && unnamedParam1
  );
  XMUINT3 & operator=(
    XMUINT3 && unnamedParam1
  );
  void      XMUINT3(
    uint32_t _x,
    uint32_t _y,
    uint32_t _z
  ) noexcept;
  void      XMUINT3(
    const uint32_t *pArray
  ) noexcept;
  bool      operator==(
    const XMUINT3 & unnamedParam1
  );
  auto      operator<=>(
    const XMUINT3 & 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.

void XMUINT3()

Default constructor for XMUINT3.

Default constructor for XMUINT3.

Note  This constructor is only available under C++.
 

void XMUINT3( const XMUINT3 & unnamedParam1)

A constructor for XMUINT3.

A constructor for XMUINT3.

Note  This constructor is only available under C++.

XMUINT3 & operator=( const XMUINT3 & unnamedParam1)

Assigns the vector component data from one instance of XMUINT3 to the current instance of XMUINT3.

This operator assigns the vector component data from one instance of XMUINT3 to the current instance of XMUINT3.

Note  This operator is only available under C++.

void XMUINT3( XMUINT3 && unnamedParam1)

A constructor for XMUINT3.

A constructor for XMUINT3.

Note  This constructor is only available under C++.

XMUINT3 & operator=( XMUINT3 && unnamedParam1)

void XMUINT3( uint32_t _x, uint32_t _y, uint32_t _z) noexcept

Initializes a new instance of XMUINT3 from three uint32_t arguments.

This constructor initializes a new instance of XMUINT3 from three uint32_t arguments.

Note  This constructor is only available under C++.
 

void XMUINT3( const uint32_t *pArray) noexcept

Initializes a new instance of XMUINT3 from a three element uint32_t array argument.

This constructor initializes a new instance of XMUINT3 from a three-element uint32_t array argument.

Note  This constructor is only available under C++.

bool operator==( const XMUINT3 & unnamedParam1)

auto operator<=>( const XMUINT3 & unnamedParam1)

Remarks

You can use XMLoadUInt3 to load XMUINT3 into instances of XMVECTOR.

You can use XMStoreUInt3 to store instances of XMVECTOR into an instance of XMUINT3.

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

See also

DirectXMath Library Structures

XMUINT3 Extensions