ColorOperator Class (Microsoft.DirectX.Direct3D)

Contains methods for manipulating colors.

Definition

Visual Basic NotInheritable MustInherit Public Class ColorOperator
    Inherits ObjectLeave Site
C# public abstract sealed class ColorOperator : ObjectLeave Site
C++ public ref class ColorOperator abstract sealed : ObjectLeave Site
JScript public final abstract class ColorOperator extends ObjectLeave Site

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
static (Shared in Visual Basic) Add Adds two color values together to create a new color value.
static (Shared in Visual Basic) AdjustContrast Adjusts the contrast value of a color.
static (Shared in Visual Basic) AdjustSaturation Adjusts the saturation value of a color.
static (Shared in Visual Basic) Lerp Creates a color value using linear interpolation.
static (Shared in Visual Basic) Modulate Blends two colors.
static (Shared in Visual Basic) Negative Creates a negative color value from a given color value.
static (Shared in Visual Basic) Scale Scales a color value.
static (Shared in Visual Basic) Subtract Subtracts two color values to create a new color value.

Inheritance Hierarchy

ObjectLeave Site

ColorOperator

Class Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492