IDCompositionVisual2 interface (dcomp.h)

Represents one DirectComposition visual in a visual tree.

Inheritance

The IDCompositionVisual2 interface inherits from IDCompositionVisual. IDCompositionVisual2 also has these types of members:

Methods

The IDCompositionVisual2 interface has these methods.

 
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

Requirement Value
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