DCOMPOSITION_BACKFACE_VISIBILITY Enumeration

Specifies the backface visibility to be applied to a visual.

Syntax

typedef enum DCOMPOSITION_BACKFACE_VISIBILITY {
  DCOMPOSITION_BACKFACE_VISIBILITY_VISIBLE,
  DCOMPOSITION_BACKFACE_VISIBILITY_HIDDEN,
  DCOMPOSITION_BACKFACE_VISIBILITY_INHERIT
} ;

Constants

DCOMPOSITION_BACKFACE_VISIBILITY_VISIBLE Surfaces in this visual's sub-tree are visible regardless of transformation.
DCOMPOSITION_BACKFACE_VISIBILITY_HIDDEN Surfaces in this visual's sub-tree are only visible when facing the observer.
DCOMPOSITION_BACKFACE_VISIBILITY_INHERIT The back face visibility is the same as that of the target visual's parent visual.

Requirements

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

See Also

DirectComposition Backface and D2D Batching

IDCompositionVisual2::SetBackFaceVisibility

Sample