XMUINT2::XMUINT2(constuint32_t*) function (directxmath.h)

Initializes a new instance of XMUINT2 from a two element uint32_t array argument.

This constructor initializes a new instance of XMUINT2 from a two element uint32_t array argument.

Note  This constructor is only available under C++.

Syntax

void XMUINT2(
  const uint32_t *pArray
) noexcept;

Parameters

pArray

Two element uint32_t array containing the values used to initialize the two components of a new instance of XMUINT2.

Return value

None

Remarks

XMUINT2 instance;
instance.x = pArray[0];
instance.y = pArray[1];
instance.z = pArray[2];
instance.w = pArray[3];

Requirements

Requirement Value
Target Platform Windows
Header directxmath.h

See also

XMUINT2

XMUINT2 Constructors