XMBYTE2::operator= function (directxpackedvector.h)

Assigns the vector component data from one instance of XMBYTE2 to the current instance of XMBYTE2.

This operator assigns the vector component data from one instance of XMBYTE2 to the current instance of XMBYTE2.

Note  This operator is only available with C++.
 

Syntax

XMBYTE2 & operator=(
  const XMBYTE2 & unnamedParam1
);

Parameters

unnamedParam1

Instance of XMBYTE2 used to update the current XMBYTE2 structure.

Return value

The current instance of XMBYTE2 whose vector component data has been updated to match those of the XMBYTE2 instance specified by the Byte2 argument.

Requirements

Requirement Value
Target Platform Windows
Header directxpackedvector.h

See also

Reference

XMBYTE2

XMBYTE2 Operators