IDCompositionVisual2 interface

Represents one DirectComposition visual in a visual tree.

When to implement

Client applications do not implement the IDCompositionVisual2 interface; custom implementations are not supported.

Members

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

Methods

The IDCompositionVisual2 interface has these methods.

MethodDescription
SetBackFaceVisibility

Specifies whether or not surfaces that have 3D transformations applied to them should be displayed when facing away from the observer.

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]

Header

Dcomp.h

Library

Dcomp.lib

DLL

Dcomp.dll

See also

IDCompositionVisual
IDCompositionDevice2::CreateVisual
Sample
DirectComposition Backface and D2D Batching

 

 

Show: