Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Serves as a factory for all other Microsoft DirectComposition objects and provides methods to control transactional composition.
Inheritance
The IDCompositionDevice interface inherits from the IUnknown interface. IDCompositionDevice also has these types of members:
Methods
The IDCompositionDevice interface has these methods.
| IDCompositionDevice::CheckDeviceState Determines whether the DirectComposition device object is still valid. |
| IDCompositionDevice::Commit Commits all DirectComposition commands that are pending on this device. (IDCompositionDevice.Commit) |
| IDCompositionDevice::CreateAnimation Creates an animation object that is used to animate one or more scalar properties of one or more Microsoft DirectComposition objects. (IDCompositionDevice.CreateAnimation) |
| IDCompositionDevice::CreateEffectGroup Creates an object that represents multiple effects to be applied to a visual subtree. (IDCompositionDevice.CreateEffectGroup) |
| IDCompositionDevice::CreateMatrixTransform Creates a 2D 3-by-2 matrix transform object. (IDCompositionDevice.CreateMatrixTransform) |
| IDCompositionDevice::CreateMatrixTransform3D Creates a 3D 4-by-4 matrix transform object. (IDCompositionDevice.CreateMatrixTransform3D) |
| IDCompositionDevice::CreateRectangleClip Creates a clip object that can be used to restrict the rendering of a visual subtree to a rectangular area. (IDCompositionDevice.CreateRectangleClip) |
| IDCompositionDevice::CreateRotateTransform Creates a 2D rotation transform object. (IDCompositionDevice.CreateRotateTransform) |
| IDCompositionDevice::CreateRotateTransform3D The CreateRotateTransform3D method in the IDCompositionDevice interface creates a 3D rotation transform object. |
| IDCompositionDevice::CreateScaleTransform The IDCompositionDevice::CreateScaleTransform method creates a 2D scale transform object. |
| IDCompositionDevice::CreateScaleTransform3D The IDCompositionDevice::CreateScaleTransform3D method creates a 3D scale transform object. |
| IDCompositionDevice::CreateSkewTransform The IDCompositionDevice::CreateSkewTransform method creates a 2D skew transform object. |
| IDCompositionDevice::CreateSurface The IDCompositionDevice::CreateSurface method creates an updatable surface object that can be associated with one or more visuals for composition. |
| IDCompositionDevice::CreateSurfaceFromHandle The IDCompositionDevice::CreateSurfaceFromHandle method creates a new composition surface object that wraps an existing composition surface. |
| IDCompositionDevice::CreateSurfaceFromHwnd The IDCompositionDevice::CreateSurfaceFromHwnd method creates a wrapper object that represents the rasterization of a layered window, and that can be associated with a visual for composition. |
| IDCompositionDevice::CreateTargetForHwnd Creates a composition target object that is bound to the window that is represented by the specified window handle (HWND). |
| IDCompositionDevice::CreateTransform3DGroup The IDCompositionDevice::CreateTransform3DGroup method creates a 3D transform group object that holds an array of 3D transform objects. |
| IDCompositionDevice::CreateTransformGroup The IDCompositionDevice::CreateTransformGroup method creates a 2D transform group object that holds an array of 2D transform objects. |
| IDCompositionDevice::CreateTranslateTransform The IDCompositionDevice::CreateTranslateTransform method creates a 2D translation transform object. |
| IDCompositionDevice::CreateTranslateTransform3D The IDCompositionDevice::CreateTranslateTransform3D method creates a 3D translation transform object. |
| IDCompositionDevice::CreateVirtualSurface The IDCompositionDevice::CreateVirtualSurface method creates a sparsely populated surface that can be associated with one or more visuals for composition. |
| IDCompositionDevice::CreateVisual The IDCompositionDevice::CreateVisual method creates a new visual object. |
| IDCompositionDevice::GetFrameStatistics The IDCompositionDevice::GetFrameStatistics method retrieves information from the composition engine about composition times and the frame rate. |
| IDCompositionDevice::WaitForCommitCompletion Waits for the composition engine to finish processing the previous call to the IDCompositionDevice::Commit method. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Target Platform | Windows |
| Header | dcomp.h |