ColorOperator.Negative(Int32) Method (Microsoft.DirectX.Direct3D)

Creates a negative color value from a given color value.

Definition

Visual Basic Public Shared Function Negative( _
    ByVal c As Integer _
) As Integer
C# public static int Negative(
    int c
);
C++ public:
static int Negative(
    int c
);
JScript public static function Negative(
    c : int
) : int;

Parameters

c System.Int32

Return Value

System.Int32

Remarks

The input alpha channel is copied, unmodified, to the output alpha channel.