Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of XMU565 from a uint16_t variable containing
component data in a packed format.
This constructor initializes a new instance of XMU565 from a
uint16_t variable containing component data in a packed format.
Syntax
void XMU565(
uint16_t Packed
) noexcept;
Parameters
Packed
The values of three vector components in a packed format.
Return value
None
Remarks
The values defining the three components of the new instance of XMU565 are
stored in the argument Packed as follows:
-
The first 5 bits (bits 0-4) of Packed assigned, as an integer, to the
x member of the instance of
XMU565constructed. -
The second 6 bits (bits 5-10) of Packed assigned, as an integer, to
the y member of the instance of
XMU565constructed. -
The third 5 bits (bits 11-15) of Packed assigned, as an integer, to
the z member of the instance of
XMU565constructed.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | directxpackedvector.h |
See also
Reference