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 XMUBYTEN4 from a uint32_t variable containing component data in a packed format.
This constructor initializes a new instance of XMUBYTEN4
from a
uint32_t variable containing component data in a packed format.
Syntax
void XMUBYTEN4(
uint32_t Packed
) noexcept;
Parameters
Packed
The values of four vector components of the new instance, in a packed format.
Return value
None
Remarks
The values defining the three components of the new instance of XMUBYTEN4 are
not normalized, and are stored in the argument Packed in the following
format:
-
The first 8 bits (bits 0-7) of Packed assigned, as an unsigned
integer, to the x member of the instance of
XMUBYTEN4constructed. -
The second 8 bits (bits 8-15) of Packed assigned, as an unsigned
integer, to the y member of the instance of
XMUBYTEN4constructed. -
The third 8 bits (bits 16-23) of Packed assigned, as an unsigned
integer, to the z member of the instance of
XMUBYTEN4constructed. -
The last 8 bits (bits 24-31) of Packed assigned, as an unsigned
integer, to the w member of the instance of
XMUBYTEN4constructed.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | directxpackedvector.h |
See also
Reference