IDirectManipulationCompositor interface (directmanipulation.h)

Represents a compositor object that associates manipulated content with a drawing surface, such as canvas (Windows app using JavaScript) or Canvas (Windows Store app using C++, C#, or Visual Basic).

Inheritance

The IDirectManipulationCompositor interface inherits from the IUnknown interface. IDirectManipulationCompositor also has these types of members:

Methods

The IDirectManipulationCompositor interface has these methods.

 
IDirectManipulationCompositor::AddContent

Associates content (owned by the caller) with the compositor, assigns a composition device to the content, and specifies the position of the content in the composition tree relative to other composition visuals.
IDirectManipulationCompositor::Flush

Commits all pending updates in the compositor to the system for rendering.
IDirectManipulationCompositor::RemoveContent

Removes content from the compositor.
IDirectManipulationCompositor::SetUpdateManager

Sets the update manager used to send compositor updates to Direct Manipulation.

Remarks

The content of a Direct Manipulation viewport must be manually updated during an input event for custom implementations of IDirectManipulationCompositor. Call Update to redraw the content within the viewport.

You specify manual mode on a viewport by calling either of these functions:

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header directmanipulation.h

See also

Direct Manipulation Interfaces

IDirectManipulationCompositor2