XMXDEC4::operator=(uint32_t) function

Assigns the vector component data packed in an instance of uint32_t to the current instance of XMXDEC4.

This operator assigns the vector component data packed in an instance of uint32_t to the current instance of XMXDEC4.

Note  This operator is only available under C++.
 

Syntax

XMXDEC4 & operator=(
  uint32_t Packed
);

Parameters

Packed

The values of four vector components in a packed format.

Return value

The current instance of XMXDEC4 whose vector component data has been updated to the component values packed in the uint32_t instance specified by the Packed argument.

Remarks

The format of Packed is:

  • The first 10 bits (bits 0-09) of Packed assigned to the xmember of the current instance of XMXDEC4.
  • The second 10 bits (bits 10-19) of Packed assigned to the ymember of the current instance of XMXDEC4.
  • The third 10 bits (bits 10-29) of Packed assigned to the zmember of the current instance of XMXDEC4.
  • The last 2 bits (bits 30-31) of Packed assigned to the wmember of the current instance of XMXDEC4.

Requirements

   
Target Platform Windows
Header directxpackedvector.h

See also

Reference

XMXDEC4

operator =