D2D1_HISTOGRAM_PROP enumeration

Identifiers for properties of the Histogram effect.

Syntax


typedef enum D2D1_HISTOGRAM_PROP { 
  D2D1_HISTOGRAM_PROP_NUM_BINS          = 0,
  D2D1_HISTOGRAM_PROP_CHANNEL_SELECT    = 1,
  D2D1_HISTOGRAM_PROP_HISTOGRAM_OUTPUT  = 2
} D2D1_HISTOGRAM_PROP;

Constants

D2D1_HISTOGRAM_PROP_NUM_BINS

Specifies the number of bins used for the histogram. The range of intensity values that fall into a particular bucket depend on the number of specified buckets.

The type is UINT32.

The default is 256.

D2D1_HISTOGRAM_PROP_CHANNEL_SELECT

Specifies the channel used to generate the histogram. This effect has a single data output corresponding to the specified channel.

The type is D2D1_CHANNEL_SELECTOR.

The default is D2D1_CHANNEL_SELECTOR_R.

D2D1_HISTOGRAM_PROP_HISTOGRAM_OUTPUT

The output array.

The type is FLOAT[].

Requirements

Header

D2d1effects.h

 

 

Show: