Describes a 2D vector consisting of 16-bit unsigned integer components.
For a list of additional functionality such as constructors and operators that are available
XMUSHORT2 when you are programming in C++, see XMUSHORT2 Extensions.
Unsigned integer in the range [0, 65535] describing the x-coordinate of the vector.
Unsigned integer in the range [0, 65535] describing the y-coordinate of the vector.
XMVECTOR can be stored into an instance of
XMUSHORT2 with XMStoreUShort2.
Namespace: Use DirectX::PackedVector
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.