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.XMSHORT2 |
XMSHORT2 (directxpackedvector.h) |
Describes a 2D vector consisting of 16-bit signed and normalized integer components. |
|
dxmath\xmshort2.htm |
dxmath |
T:Microsoft.directx_sdk.reference.XMSHORT2 |
12/05/2018 |
XMSHORT2, XMSHORT2 structure [DirectX Math Support APIs], directxpackedvector/XMSHORT2, dxmath.xmshort2 |
directxpackedvector.h |
Windows |
Windows |
19H1 |
|
|
|
|
|
|
Describes a 2D vector consisting of 16-bit signed and normalized integer components.
For a list of additional functionality such as constructors and operators that are available
using XMSHORT2
when you are programming in C++, see XMSHORT2 Extensions.
Note See DirectXMath Library Type
Equivalences for information about equivalent D3DDECLTYPE, D3DFORMAT, and DXGI_FORMAT objects.
Signed integer in the range [-32767, 32767] describing the x-coordinate of the vector.
Signed integer in the range [-32767, 32767] describing the y-coordinate of the vector.
TBD
TBD
The components are normalized when this structure is loaded into an XMVECTOR using XMLoadShort2. Each component will be divided by 32767.0f.
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.