XMCOLOR constructors

Constructors exposed by XMCOLOR.

Constructs instances of the XMCOLOR structure.

Note

The constructors listed here are only available under C++.

 

Overload list

Constructor Description
XMCOLOR () Default constructor for XMCOLOR
Default constructor for XMCOLOR
Note: This is only available for C++ based development.
XMCOLOR (uint32_t) Initializes a new instance of XMCOLOR from a uint32_t variable containing component data in a packed format.
This constructor initializes a new instance of XMCOLOR from a uint32_t variable containing component data in a packed format.
Note: This constructor is only available under C++.
*XMCOLOR (const float)** Initializes a new instance of XMCOLOR from a four element float array argument.
This constructor initializes a new instance of XMCOLOR from a from a four element float array argument.
Note: This constructor is only available under C++.
XMCOLOR (float,float,float,float) Initializes a new instance of XMCOLOR from four float arguments.
This constructor initializes a new instance of XMCOLOR from four float arguments.
Note: This constructor is only available under C++.

See also

XMCOLOR Extensions

Reference

XMCOLOR