Windows apps
Collapse the table of content
Expand the table of content
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.

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

 

 

Show:
© 2017 Microsoft