Share via


DCOMPOSITION_TRANSFORM_MODE enumeration

Specifies the transform style to be applied to a visual.

Syntax

enum DCOMPOSITION_TRANSFORM_MODE {
  DCOMPOSITION_TRANSFORM_MODE_FLAT                         = 0, 
  DCOMPOSITION_TRANSFORM_MODE_3D_TRANSFORM                 = 1, 
  DCOMPOSITION_TRANSFORM_MODE_3D_TRANSFORM_AND_VISIBILITY  = 2, 
  DCOMPOSITION_TRANSFORM_MODE_INHERIT                      = 0xffffffff 

};

Constants

  • DCOMPOSITION_TRANSFORM_MODE_FLAT
    Surfaces in this visual’s sub-tree are rendered without preserving its 3D positions.

  • DCOMPOSITION_TRANSFORM_MODE_3D_TRANSFORM
    Maintains parent’s 3D transform and visuals are not sorted.

  • DCOMPOSITION_TRANSFORM_MODE_3D_TRANSFORM_AND_VISIBILITY
    Surfaces in this visual’s sub-tree are rendered preserving its 3D positions

  • DCOMPOSITION_TRANSFORM_MODE_INHERIT
    The transform mode is the same as that of the target visual's parent visual.

Requirements

Header

Dcomptypes.h