XMHALF2::operator= function (directxpackedvector.h)

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

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

Note  This constructor is only available under C++.

Syntax

XMHALF2 & operator=(
  const XMHALF2 & unnamedParam1
);

Parameters

unnamedParam1

Instance of XMHALF2 used to update the current XMHALF2 structure.

Return value

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

Requirements

Requirement Value
Target Platform Windows
Header directxpackedvector.h

See also

XMHALF2

XMHALF2 Operators