D2D1_LAYER_OPTIONS1 enumeration

Specifies how the layer contents should be prepared.

Syntax


typedef enum _D2D1_LAYER_OPTIONS1 { 
  D2D1_LAYER_OPTIONS1_NONE                        = 0,
  D2D1_LAYER_OPTIONS1_INITIALIZE_FROM_BACKGROUND  = 1,
  D2D1_LAYER_OPTIONS1_IGNORE_ALPHA                = 2
} D2D1_LAYER_OPTIONS1;

Constants

D2D1_LAYER_OPTIONS1_NONE

Default layer behavior. A premultiplied layer target is pushed and its contents are cleared to transparent black.

D2D1_LAYER_OPTIONS1_INITIALIZE_FROM_BACKGROUND

The layer is not cleared to transparent black.

D2D1_LAYER_OPTIONS1_IGNORE_ALPHA

The layer is always created as ignore alpha. All content rendered into the layer will be treated as opaque.

Requirements

Header

D2d1_1.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft