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. 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. If the method succeeds, it returns 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
Parameters
Return value
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.
Removes content from the compositor.
SyntaxParametersRemoveContent( [in]?? *content /// );
The content to remove from the composition tree.
If the method succeeds, it returns
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.
Sets the update manager used to send compositor updates to Direct Manipulation.
SyntaxParametersSetUpdateManager( [in]?? *updateManager /// );
The update manager.
If the method succeeds, it returns
Retrieve updateManager by calling GetUpdateManager.
Call this method during Direct Manipulation initialization to connect the compositor to the update manager.
Requirements ///Commits all pending updates in the compositor to the system for rendering.
SyntaxParametersFlush();
This method has no parameters.
Return valueIf the method succeeds, it returns
This method enables Direct Manipulation to flush any pending changes to its visuals before a system event, such as a process suspension.
Requirements ///