Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XMUINT2 structure

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

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

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

Syntax


struct XMUINT2 {
  uint32_t x;
  uint32_t y;
};

Members

x

Unsigned integer value describing the x-coordinate of the vector.

y

Unsigned integer value describing the y-coordinate of the vector.

Remarks

You can use XMLoadUInt2 to load XMUINT2 into instances of XMVECTOR.

You can use XMStoreUInt2 to store instances of XMVECTOR into an instance of XMUINT2.

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

Header

DirectXMath.h

See also

DirectXMath Library Structures
XMUINT2 Extensions

 

 

Show:
© 2017 Microsoft