D3DXCOLORNEGATIVE function
Create a cool value of a color.
definition:
D3DXColor * D3DXCOLORNEGATIVE
D3DXColor * Pout,
Const D3dxColor * PC
);
parameter
pout
[IN, OUT] points to a result of returning a D3DxColor structure.
PC
[in] points to the structure of a source color D3DxColor.
return value:
This function returns a D3DxColor cold color value.
Description:
The alpha value of the colored colors does not change, the same as the original color.
The return value is the same as the parameter Pout returns. By the return value, this function can be made into the parameters of other functions.
This function calculates all color scores by the following formula:
Pout-> r = 1.0F - pc-> r;
Function information:
HEADER
D3DX9Math.h
Import Library
D3DX9.LIB
Minimum operation systems
WINDOWS 98
related functions:
D3DXColorlerp, D3DxColorModulate, D3DxColorscale