UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:directxmath.XMColorRGBToXYZ |
XMColorRGBToXYZ function (directxmath.h) |
Converts RGB color values to XYZ color values. |
|
dxmath\xmcolorrgbtoxyz.htm |
dxmath |
M:Microsoft.directx_sdk.color.XMColorRGBToXYZ(XMVECTOR) |
12/05/2018 |
Use DirectX..XMColorRGBToXYZ, XMColorRGBToXYZ, XMColorRGBToXYZ method [DirectX Math Support APIs], dxmath.xmcolorrgbtoxyz |
directxmath.h |
Windows |
Use DirectX. |
Windows |
19H1 |
|
|
|
|
|
|
Converts RGB color values to XYZ color values.
Color value to convert. X element is Red, Y element is Green, Z element is Blue, and W element is Alpha. Each has a range of 0.0 to 1.0.
Returns the converted color value with the tristimulus values of X, Y, and Z in the corresponding element, and the W element with Alpha (a copy of rgb.w). Each has a range of 0.0 to 1.0.
Uses the CIE XYZ colorspace.
Note
XMColorRGBToXYZ
is new for DirectXMath and is not available for XNAMath 2.x.