Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_LAYER_OPTIONS1_NONE Value: 0 Default layer behavior. A premultiplied layer target is pushed and its contents are cleared to transparent black. |
D2D1_LAYER_OPTIONS1_INITIALIZE_FROM_BACKGROUND Value: 1 The layer is not cleared to transparent black. |
D2D1_LAYER_OPTIONS1_IGNORE_ALPHA Value: 2 The layer is always created as ignore alpha. All content rendered into the layer will be treated as opaque. |
D2D1_LAYER_OPTIONS1_FORCE_DWORD Value: 0xffffffff |
Requirements
Requirement | Value |
---|---|
Header | d2d1_1.h |