D2D1_HISTOGRAM_PROP enumeration (d2d1effects.h)

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_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_HISTOGRAM_PROP_NUM_BINS
Value: 0
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
Value: 1
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
Value: 2
The output array.


The type is FLOAT[].
D2D1_HISTOGRAM_PROP_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects.h