RetroArch
Public Member Functions | Public Attributes | List of all members
D2D1_LAYER_PARAMETERS Struct Reference

Contains the content bounds, mask information, opacity settings, and other options for a layer resource. More...

#include <d2d1.h>

Collaboration diagram for D2D1_LAYER_PARAMETERS:
[legend]

Public Member Functions

 _Field_size_opt_ (1) ID2D1Geometry *geometricMask
 A general mask that can be optionally applied to the content. Content not inside the fill of the mask will not be rendered. More...
 
 _Field_size_opt_ (1) ID2D1Brush *opacityBrush
 An additional brush that can be applied to the layer. Only the opacity channel is sampled from this brush and multiplied both with the layer content and the over-all layer opacity. More...
 

Public Attributes

D2D1_RECT_F contentBounds
 The rectangular clip that will be applied to the layer. The clip is affected by the world transform. Content outside of the content bounds will not render. More...
 
D2D1_ANTIALIAS_MODE maskAntialiasMode
 Specifies whether the mask should be aliased or antialiased. More...
 
D2D1_MATRIX_3X2_F maskTransform
 An additional transform that may be applied to the mask in addition to the current world transform. More...
 
FLOAT opacity
 The opacity with which all of the content in the layer will be blended back to the target when the layer is popped. More...
 
D2D1_LAYER_OPTIONS layerOptions
 Specifies if ClearType will be rendered into the layer. More...
 

Detailed Description

Contains the content bounds, mask information, opacity settings, and other options for a layer resource.

Member Function Documentation

◆ _Field_size_opt_() [1/2]

D2D1_LAYER_PARAMETERS::_Field_size_opt_ ( )

A general mask that can be optionally applied to the content. Content not inside the fill of the mask will not be rendered.

◆ _Field_size_opt_() [2/2]

D2D1_LAYER_PARAMETERS::_Field_size_opt_ ( )

An additional brush that can be applied to the layer. Only the opacity channel is sampled from this brush and multiplied both with the layer content and the over-all layer opacity.

Member Data Documentation

◆ contentBounds

D2D1_RECT_F D2D1_LAYER_PARAMETERS::contentBounds

The rectangular clip that will be applied to the layer. The clip is affected by the world transform. Content outside of the content bounds will not render.

◆ layerOptions

D2D1_LAYER_OPTIONS D2D1_LAYER_PARAMETERS::layerOptions

Specifies if ClearType will be rendered into the layer.

◆ maskAntialiasMode

D2D1_ANTIALIAS_MODE D2D1_LAYER_PARAMETERS::maskAntialiasMode

Specifies whether the mask should be aliased or antialiased.

◆ maskTransform

D2D1_MATRIX_3X2_F D2D1_LAYER_PARAMETERS::maskTransform

An additional transform that may be applied to the mask in addition to the current world transform.

◆ opacity

FLOAT D2D1_LAYER_PARAMETERS::opacity

The opacity with which all of the content in the layer will be blended back to the target when the layer is popped.


The documentation for this struct was generated from the following file: