Converts XYZ color values to RGB color values.
XMVECTOR XMColorXYZToRGB(
XMVECTOR xyz
)
xyz
Type: XMVECTOR
Color value to convert with the trisimulus values of X, Y, and Z in the corresponding element, and the W element with Alpha. Each has a range of 0.0 to 1.0
Type: XMVECTOR
Returns the converetd color value. X element is Red, Y element is Green, Z element is Blue, and W element is Alpha (a copy of xyz.w). Each has a range of 0.0 to 1.0.
Uses the CIE XYZ colorspace.
Note
XMColorXYZToRGBis new for DirectXMath and is not available for XNAMath 2.x.
Header: Declared in directxmath.h.