Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ColorLUT class

Applies to: desktop apps only

A ColorLUTParams structure has four members, each being a lookup table for a particular color channel: alpha, red, green, or blue. The lookup tables can be used to make custom color adjustments to bitmaps. Each lookup table is an array of 256 bytes that you can set to values of your choice. After you have initialized a ColorLUTParams structure, pass its address to the ColorLUT::SetParameters method of a ColorLUT object. Then pass the address of that ColorLUT object to the Graphics::DrawImage method or to the Bitmap::ApplyEffect method.

Members

The ColorLUT class inherits from Effect. ColorLUT also has these types of members:

Constructors

The ColorLUT class has these constructors.

ConstructorDescription
ColorLUT::ColorLUT

Creates a new ColorLUT object.

 

Methods

The ColorLUT class has these methods.

MethodDescription
ColorLUT::GetParameters

The ColorLUT::GetParameters method gets the current values of the parameters of this ColorLUT object.

ColorLUT::SetParameters

The ColorLUT::SetParameters method sets the parameters of this ColorLUT object.

 

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

Show: