DCOMPOSITION_BACKFACE_VISIBILITY enumeration

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
} DCOMPOSITION_BACKFACE_VISIBILITY;

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

IDCompositionVisual2::SetBackFaceVisibility
Sample
DirectComposition Backface and D2D Batching

 

 

Community Additions

ADD
Show:
© 2014 Microsoft