XMU555::operator uint16_t function (directxpackedvector.h)
Returns an instance of uint16_t
containing the components of the
XMU555
instance in a packed format.
This operator returns an instance of uint16_t
containing the components of the XMU555 instance in a packed format.
Note This operator is only available under C++.
Syntax
void operator uint16_t() noexcept;
Return value
Contains the four vector components of an instance of XMU555
in a packed
format.
Remarks
The packed format of this operators return value is:
-
The first 5 bits (bits 0-4) of the return value are to the x component of the current instance of
XMU555
. -
The second 5 bits (bits 5-9) of the return value are to the y component of the current instance of
XMU555
. -
The third 5 bits (bits 10-14) of the return value are to the z component of the current instance of
XMU555
. -
The last 1 bit (bit 15) of the return value are to the w component of the current instance of
XMU555
.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | directxpackedvector.h |
See also
Reference