using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SharpDX.DirectManipulation { [Shadow(typeof(CompositorShadow))] partial interface Compositor { /// ///

Associates content 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.

Syntax
 AddContent( [in]???????????? *content, [in, optional]??   device, [in]???????????? *parentVisual, [in]???????????? *childVisual	
		/// );
Parameters
content [in]

The content to add to the composition tree.

content is placed between parentVisual and childVisual in the composition tree.

device [in, optional]

The device used to compose the content.

Note??device is created by the application.

parentVisual [in]

The parent in the composition tree for the content being added.

parentVisual must also be a parent of childVisual in the composition tree.

childVisual [in]

The child in the composition tree for the content being added.

parentVisual must also be a parent of childVisual in the composition tree.

Return value

If the method succeeds, it returns . Otherwise, it returns an error code.

Remarks

All content, regardless of type, must be added to the compositor. This can be primary content, obtained from the viewport by calling GetPrimaryContent, or secondary content, such as a panning indicator, created by calling CreateContent. ///

If the application uses a system-provided :

If the application uses a custom implementation of :

Requirements ///
///

The content to add to the composition tree.

content is placed between parentVisual and childVisual in the composition tree.

///

The device used to compose the content.

Note??device is created by the application.

///

The parent in the composition tree for the content being added.

parentVisual must also be a parent of childVisual in the composition tree.

///

The child in the composition tree for the content being added.

parentVisual must also be a parent of childVisual in the composition tree.

/// No documentation. /// /// Hh768898 /// HRESULT IDirectManipulationCompositor::AddContent([In] IDirectManipulationContent* content,[In, Optional] IUnknown* device,[In, Optional] IUnknown* parentVisual,[In, Optional] IUnknown* childVisual) /// IDirectManipulationCompositor::AddContent void AddContent(SharpDX.DirectManipulation.Content content, SharpDX.ComObject device, SharpDX.ComObject arentVisualRef, SharpDX.ComObject childVisual); /// ///

Removes content from the compositor.

Syntax
 RemoveContent( [in]?? *content	
		/// );
Parameters
content [in]

The content to remove from the composition tree.

Return value

If the method succeeds, it returns . Otherwise, it returns an error code.

Remarks

This method removes content added with AddContent and restores the original relationships between parent visuals and child visuals in the composition tree. In other words, RemoveContent undoes AddContent.

Requirements ///
///

The content to remove from the composition tree.

/// No documentation. /// /// Hh768899 /// HRESULT IDirectManipulationCompositor::RemoveContent([In] IDirectManipulationContent* content) /// IDirectManipulationCompositor::RemoveContent void RemoveContent(SharpDX.DirectManipulation.Content content); /// ///

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

Syntax
 SetUpdateManager( [in]?? *updateManager	
		/// );
Parameters
updateManager [in]

The update manager.

Return value

If the method succeeds, it returns . Otherwise, it returns an error code.

Remarks

Retrieve updateManager by calling GetUpdateManager.

Call this method during Direct Manipulation initialization to connect the compositor to the update manager.

Requirements ///
/// No documentation. /// No documentation. /// /// Hh768900 /// HRESULT IDirectManipulationCompositor::SetUpdateManager([In] IDirectManipulationUpdateManager* updateManager) /// IDirectManipulationCompositor::SetUpdateManager void SetUpdateManager(SharpDX.DirectManipulation.UpdateManager updateManager); /// ///

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

Syntax
 Flush();
Parameters

This method has no parameters.

Return value

If the method succeeds, it returns . Otherwise, it returns an error code.

Remarks

This method enables Direct Manipulation to flush any pending changes to its visuals before a system event, such as a process suspension.

Requirements ///
/// No documentation. /// /// jj647930 /// HRESULT IDirectManipulationCompositor::Flush() /// IDirectManipulationCompositor::Flush void Flush(); } }