Skip to content

Latest commit

 

History

History
116 lines (82 loc) · 3.38 KB

ns-directxpackedvector-xmushort4.md

File metadata and controls

116 lines (82 loc) · 3.38 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:directxpackedvector.XMUSHORT4
XMUSHORT4 (directxpackedvector.h)
A 4D vector consisting of 16-bit unsigned integer components.
XMUSHORT4
XMUSHORT4 structure [DirectX Math Support APIs]
directxpackedvector/XMUSHORT4
dxmath.xmushort4
dxmath\xmushort4.htm
dxmath
T:Microsoft.directx_sdk.reference.XMUSHORT4
12/05/2018
XMUSHORT4, XMUSHORT4 structure [DirectX Math Support APIs], directxpackedvector/XMUSHORT4, dxmath.xmushort4
directxpackedvector.h
Windows
Windows
19H1
XMUSHORT4
directxpackedvector/XMUSHORT4
c++
APIRef
kbSyntax
HeaderDef
DirectXPackedVector.h
XMUSHORT4

XMUSHORT4 structure

-description

A 4D vector consisting of 16-bit unsigned integer components.

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

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

-struct-fields

-field x

Unsigned 16-bit integer in the range [0, 65535] describing the x-coordinate of the vector.

-field y

Unsigned 16-bit integer in the range [0, 65535] describing the y-coordinate of the vector.

-field z

Unsigned 16-bit integer in the range [0, 65535] describing the z-coordinate of the vector.

-field w

Unsigned 16-bit integer in the range [0, 65535] describing the w-coordinate of the vector.

-field v

-field XMUSHORT4

TBD

-field operator=

TBD

-remarks

XMUSHORT4 can be loaded into instances of XMVECTOR by using XMLoadUShort4.

Instances of XMVECTOR can be stored into an instance of XMUSHORT4 with XMStoreUShort4.

Namespace: Use DirectX::PackedVector

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.

-see-also

DirectXMath Library Structures

XMUSHORT4 Extensions