DCOMPOSITION_BACKFACE_VISIBILITY enumeration (dcomptypes.h)

Specifies the backface visibility to be applied to a visual.

Syntax

typedef enum DCOMPOSITION_BACKFACE_VISIBILITY {
  DCOMPOSITION_BACKFACE_VISIBILITY_VISIBLE = 0,
  DCOMPOSITION_BACKFACE_VISIBILITY_HIDDEN = 1,
  DCOMPOSITION_BACKFACE_VISIBILITY_INHERIT = 0xffffffff
} ;

Constants

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

Requirements

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