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.XMBYTE2 |
XMBYTE2 (directxpackedvector.h) |
A 2D vector where each component is a signed integer, 8-bits (1 byte) in length. |
|
dxmath\xmbyte2.htm |
dxmath |
T:Microsoft.directx_sdk.reference.XMBYTE2 |
12/05/2018 |
XMBYTE2, XMBYTE2 structure [DirectX Math Support APIs], XMBYTE2 structure,about XMBYTE2 structure, directxpackedvector/XMBYTE2, dxmath.xmbyte2 |
directxpackedvector.h |
Windows |
Windows |
19H1 |
|
|
|
|
|
|
A 2D vector where each component is a signed integer, 8-bits (1 byte) in length.
For a list of additional functionality such as constructors and operators that are available using XMBYTE2
when you
are programming in C++, see XMBYTE2 Extensions.
Note See DirectXMath Library Type Equivalences for information about
equivalent D3DDECLTYPE, D3DFORMAT, and
DXGI_FORMAT objects.
Signed 8-bit integer value in the range [-127, 127] describing the x-coordinate of the vector.
Signed 8-bit integer value in the range [-127, 127] describing the y-coordinate of the vector.
TBD
TBD
You can use XMLoadByte2 to load XMBYTE2
into instances
of XMVECTOR.
You can use XMStoreByte2 to store instances of XMVECTOR
into an instance of XMBYTE2
.
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.