IDCompositionVisual2 interface

Represents one DirectComposition visual in a visual tree.

Methods

The IDCompositionVisual2 interface has these methods.

Method Description
IDCompositionVisual2::SetBackFaceVisibility Specifies whether or not surfaces that have 3D transformations applied to them should be displayed when facing away from the observer.
IDCompositionVisual2::SetOpacityMode Sets the opacity mode for this visual.

Requirements

   
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header dcomp.h

See Also

DirectComposition Backface and D2D Batching

IDCompositionDevice2::CreateVisual

IDCompositionVisual

Sample