D3DxColorsubtract function

xiaoxiao2021-03-06  65

D3DxColorsubtract function

Two colors are subtracted, return the subsequent result.

definition:

D3DxColor * D3DxColorsubtract (

D3DXColor * Pout,

Const d3dxcolor * PC1,

Const d3dxcolor * pc2

);

parameter:

pout

[IN, OUT] points to a result of returning a D3DxColor structure.

PC1

[in] points to the structure of a source color D3DxColor.

PC2

[in] points to the structure of a source color D3DxColor.

return value:

The number returns two color differences in the D3DxColor structure.

Description:

This function return value is the same as the POUT parameter. By returning the value, this function can be made into the return value of other functions.

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

related functions:

D3DXCOLORADD

转载请注明原文地址:https://www.9cbs.com/read-111423.html

New Post(0)