This topic has not yet been rated - Rate this topic

Opacity metadata effect

You can use this effect to mark an area of an input image as opaque, so internal rendering optimizations to the graph are possible.

Note  This effect doesn't modify the image itself to be opaque. It modifies data associated with the image so the renderer assumes the specified region is opaque.

The CLSID for this effect is CLSID_D2D1OpacityMetadata.

Effect properties

Display name and index enumerationType and default valueDescription

OutputRect

D2D1_OPACITYMETADATA_PROP_INPUT_OPAQUE_RECT

D2D1_VECTOR_4F

(-FLT_MAX, -FLT_MAX, FLT_MAX, FLT_MAX)

The portion of the source image that is opaque. The default is the entire input image.

 

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.