DirectComposition

Overview of the DirectComposition technology.

To develop DirectComposition, you need these headers:

For programming guidance for this technology, see:

Enumerations

Title Description
DCOMPOSITION_BACKFACE_VISIBILITY Specifies the backface visibility to be applied to a visual.
DCOMPOSITION_BITMAP_INTERPOLATION_MODE Specifies the interpolation mode to be used when a bitmap is composed with any transform where the pixels in the bitmap don't line up exactly one-to-one with pixels on screen.
DCOMPOSITION_BORDER_MODE Specifies the border mode to use when composing a bitmap or applying a clip with any transform such that the edges of the bitmap or clip are not axis-aligned with integer coordinates.
DCOMPOSITION_COMPOSITE_MODE The mode to use to blend the bitmap content of a visual with the render target.
DCOMPOSITION_OPACITY_MODE Specifies how the effective opacity value of a visual is applied to that visual’s content and children.

Functions

Title Description
AddCubic Adds a cubic polynomial segment to the animation function.
AddRepeat Adds a repeat segment that causes the specified portion of an animation function to be repeated.
AddSinusoidal Adds a sinusoidal segment to the animation function.
AddVisual Adds a new child visual to the children list of this visual.
BeginDraw Initiates drawing on this Microsoft DirectComposition surface object.
CheckDeviceState Determines whether the DirectComposition device object is still valid.
Commit Commits all DirectComposition commands that are pending on this device.
Commit Commits all DirectComposition commands that are pending on this device.
CreateAffineTransform2DEffect Creates an instance of IDCompositionAffineTransform2DEffect.
CreateAnimation Creates an animation object that is used to animate one or more scalar properties of one or more Microsoft DirectComposition objects.
CreateAnimation Creates an animation object that is used to animate one or more scalar properties of one or more Microsoft DirectComposition objects.
CreateArithmeticCompositeEffect Creates an instance of IDCompositionArithmeticCompositeEffect.
CreateBlendEffect Creates an instance of IDCompositionBlendEffect.
CreateBrightnessEffect Creates an instance of IDCompositionBrightnessEffect.
CreateColorMatrixEffect Creates an instance of IDCompositionColorMatrixEffect.
CreateCompositeEffect Creates an instance of IDCompositionCompositeEffect.
CreateEffectGroup Creates an object that represents multiple effects to be applied to a visual subtree.
CreateEffectGroup Creates an object that represents multiple effects to be applied to a visual subtree.
CreateGaussianBlurEffect Creates an instance of IDCompositionGaussianBlurEffect.
CreateHueRotationEffect Creates an instance of IDCompositionHueRotationEffect.
CreateLinearTransferEffect Creates an instance of IDCompositionLinearTransferEffect.
CreateMatrixTransform Creates a 2D 3-by-2 matrix transform object.
CreateMatrixTransform Creates a 2D 3-by-2 matrix transform object.
CreateMatrixTransform3D Creates a 3D 4-by-4 matrix transform object.
CreateMatrixTransform3D Creates a 3D 4-by-4 matrix transform object.
CreateRectangleClip Creates a clip object that can be used to restrict the rendering of a visual subtree to a rectangular area.
CreateRectangleClip Creates a clip object that can be used to restrict the rendering of a visual subtree to a rectangular area.
CreateRotateTransform Creates a 2D rotation transform object.
CreateRotateTransform Creates a 2D rotation transform object.
CreateRotateTransform3D Creates a 3D rotation transform object.
CreateRotateTransform3D Creates a 3D rotation transform object.
CreateSaturationEffect Creates an instance of IDCompositionSaturationEffect.
CreateScaleTransform Creates a 2D scale transform object.
CreateScaleTransform Creates a 2D scale transform object.
CreateScaleTransform3D Creates a 3D scale transform object.
CreateScaleTransform3D Creates a 3D scale transform object.
CreateShadowEffect Creates an instance of IDCompositionShadowEffect.
CreateSkewTransform Creates a 2D skew transform object.
CreateSkewTransform Creates a 2D skew transform object.
CreateSurface Creates an updateable surface object that can be associated with one or more visuals for composition.
CreateSurface Creates an updateable surface object that can be associated with one or more visuals for composition.
CreateSurface Creates a surface object that can be associated with one or more visuals for composition.
CreateSurfaceFactory Creates a Microsoft DirectComposition surface factory object, which can be used to create other DirectComposition surface or virtual surface objects.
CreateSurfaceFromHandle Creates a new composition surface object that wraps an existing composition surface.
CreateSurfaceFromHandle Creates a new composition surface object that wraps an existing composition surface.
CreateSurfaceFromHwnd Creates a wrapper object that represents the rasterization of a layered window, and that can be associated with a visual for composition.
CreateSurfaceFromHwnd Creates a wrapper object that represents the rasterization of a layered window, and that can be associated with a visual for composition.
CreateTableTransferEffect Creates an instance of IDCompositionTableTransferEffect.
CreateTargetForHwnd Creates a composition target object that is bound to the window that is represented by the specified window handle.
CreateTargetForHwnd Creates a composition target object that is bound to the window that is represented by the specified window handle (HWND).
CreateTransform3DGroup Creates a 3D transform group object that holds an array of 3D transform objects.
CreateTransform3DGroup Creates a 3D transform group object that holds an array of 3D transform objects.
CreateTransformGroup Creates a 2D transform group object that holds an array of 2D transform objects.
CreateTransformGroup Creates a 2D transform group object that holds an array of 2D transform objects.
CreateTranslateTransform Creates a 2D translation transform object.
CreateTranslateTransform Creates a 2D translation transform object.
CreateTranslateTransform3D Creates a 3D translation transform object.
CreateTranslateTransform3D Creates a 3D translation transform object.
CreateTurbulenceEffect Creates an instance of IDCompositionTurbulenceEffect.
CreateVirtualSurface Creates a sparsely populated surface that can be associated with one or more visuals for composition.
CreateVirtualSurface Creates a sparsely populated surface that can be associated with one or more visuals for composition.
CreateVirtualSurface Creates a sparsely populated surface that can be associated with one or more visuals for composition.
CreateVisual Creates a new visual object.
CreateVisual Creates a new visual object.
DCompositionAttachMouseDragToHwnd Creates an Interaction/InputSink to route mouse button down and any subsequent move and up events to the given HWND.
DCompositionAttachMouseWheelToHwnd Creates an Interaction/InputSink to route mouse wheel messages to the given HWND.
DCompositionCreateDevice Creates a new device object that can be used to create other Microsoft DirectComposition objects.
DCompositionCreateDevice2 Creates a new device object that can be used to create other Microsoft DirectComposition objects.
DCompositionCreateDevice3 Creates a new DirectComposition device object, which can be used to create other DirectComposition objects.
DCompositionCreateSurfaceHandle Creates a new composition surface object that can be bound to a Microsoft DirectX swap chain or swap buffer and associated with a visual.
DisableDebugCounters Disables display of performance debugging counters.
DisableHeatMap Disables visual heatmaps.
DisableRedrawRegions Disables visual redraw regions.
EnableDebugCounters Enables display of performance debugging counters.
EnableHeatMap Enables a visual heatmap that represents overdraw regions.
EnableRedrawRegions Enables highlighting visuals when content is being redrawn.
End Adds an end segment that marks the end of an animation function.
EndDraw Marks the end of drawing on this Microsoft DirectComposition surface object.
GetFrameStatistics Retrieves information from the composition engine about composition times and the frame rate.
GetFrameStatistics Retrieves information from the composition engine about composition times and the frame rate.
RemoveAllVisuals Removes all visuals from the children list of this visual.
RemoveVisual Removes a child visual from the children list of this visual.
Reset Resets the animation function so that it contains no segments.
Resize Changes the logical size of this virtual surface object.
ResumeDraw Resumes drawing on this Microsoft DirectComposition surface object.
Scroll Scrolls a rectangular area of a Microsoft DirectComposition logical surface.
SetAbsoluteBeginTime Sets the absolute time at which the animation function starts.
SetAlpha Sets the alpha value for the effect.
SetAlpha Sets the alpha value for the effect.
SetAlphaDisable Specifies whether to apply the transfer function to the alpha channel.
SetAlphaDisable Specifies whether to apply the transfer function to the Alpha channel.
SetAlphaMode Sets the alpha mode of the output for the color matrix effect.
SetAlphaSlope Sets the slope of the linear function for the alpha channel.
SetAlphaSlope Sets the slope of the linear function for the alpha channel.
SetAlphaTable Sets the list of values used to define the transfer function for the alpha channel.
SetAlphaTableValue Sets a value in the alpha table.
SetAlphaTableValue Sets a value in the alpha table.
SetAlphaYIntercept Sets the Y-intercept of the linear function for the alpha channel.
SetAlphaYIntercept Sets the Y-intercept of the linear function for the Alpha channel.
SetAngle Sets the angle to rotate the hue.
SetAngle Sets the angle to rotate the hue.
SetAngle Changes the value of the Angle property of a 2D rotation transform. The Angle property specifies the rotation angle.
SetAngle Animates the value of the Angle property of a 2D rotation transform. The Angle property specifies the rotation angle.
SetAngle Changes the value of the Angle property of a 3D rotation transform. The Angle property specifies the rotation angle. The default value is zero.
SetAngle Animates the value of the Angle property of a 3D rotation transform. The Angle property specifies the rotation angle. The default value is zero.
SetAngleX Changes the value of the AngleX property of a 2D skew transform.
SetAngleX Animates the value of the AngleX property of a 2D skew transform.
SetAngleY Changes the value of the AngleY property of a 2D skew transform.
SetAngleY Animates the value of the AngleY property of a 2D skew transform.
SetAxisX Changes the value of the AxisX property of a 3D rotation transform. The AxisX property specifies the x-coordinate for the axis vector of rotation. The default value is zero.
SetAxisX Animates the value of the AxisX property of a 3D rotation transform. The AxisX property specifies the x-coordinate for the axis vector of rotation. The default value is zero.
SetAxisY Changes the value of the AxisY property of a 3D rotation transform. The AxisY property specifies the y-coordinate for the axis vector of rotation. The default value is zero.
SetAxisY Animates the value of the AxisY property of a 3D rotation transform. The AxisY property specifies the y-coordinate for the axis vector of rotation. The default value is zero.
SetAxisZ Changes the value of the AxisZ property of a 3D rotation transform. The AxisZ property specifies the z-coordinate for the axis vector of rotation. The default value is 1.0.
SetAxisZ Animates the value of the AxisZ property of a 3D rotation transform. The AxisZ property specifies the z-coordinate for the axis vector of rotation. The default value is 1.0.
SetBackFaceVisibility Specifies whether or not surfaces that have 3D transformations applied to them should be displayed when facing away from the observer.
SetBaseFrequency Sets the base frequencies in the X and Y direction.
SetBitmapInterpolationMode Sets the BitmapInterpolationMode property, which specifies the mode for Microsoft DirectComposition to use when interpolating pixels from bitmaps that are not axis-aligned or drawn exactly at scale.
SetBlackPoint Specifies the lower portion of the brightness transfer curve for the brightness effect.
SetBlackPointX Sets the x value of the black point.
SetBlackPointX Sets the x value of the black point.
SetBlackPointY Sets the y value of the black point.
SetBlackPointY Sets the y value of the black point.
SetBlue Sets the blue value for the color of the shadow.
SetBlue Sets the blue value for the color of the shadow.
SetBlueDisable Specifies whether to apply the transfer function to the blue channel.
SetBlueDisable Specifies whether to apply the transfer function to the blue channel.
SetBlueSlope Sets the slope of the linear function for the blue channel.
SetBlueSlope Sets the slope of the linear function for the blue channel.
SetBlueTable Sets the list of values used to define the transfer function for the blue channel.
SetBlueTableValue Sets a value in the blue table.
SetBlueTableValue Sets a value in the blue table.
SetBlueYIntercept Sets the Y-intercept of the linear function for the blue channel.
SetBlueYIntercept Sets the Y-intercept of the linear function for the blue channel.
SetBorderMode Sets the border mode to use with the effect.
SetBorderMode Sets the mode used to calculate the border of the image.
SetBorderMode Sets the BorderMode property, which specifies how to compose the edges of bitmaps and clips associated with this visual, or with visuals in the subtree rooted at this visual.
SetBottom Changes the value of the Bottom property of a clip object.
SetBottom Animates the value of the Bottom property of a clip rectangle.
SetBottomLeftRadiusX Changes or animates the value of the BottomLeftRadiusX property of this clip. The BottomLeftRadiusX property specifies the x radius of the ellipse that rounds the lower-left corner of the clip.
SetBottomLeftRadiusX Animates the value of the BottomLeftRadiusX property of this clip. The BottomLeftRadiusX property specifies the x radius of the ellipse that rounds the lower-left corner of the clip.
SetBottomLeftRadiusY Changes or animates the value of the BottomLeftRadiusY property of this clip. The BottomLeftRadiusY property specifies the y radius of the ellipse that rounds the lower-left corner of the clip.
SetBottomLeftRadiusY Animates the value of the BottomLeftRadiusY property of this clip. The BottomLeftRadiusY property specifies the y radius of the ellipse that rounds the lower-left corner of the clip.
SetBottomRightRadiusX Changes or animates the value of the BottomRightRadiusX property of this clip. The BottomRightRadiusX property specifies the x radius of the ellipse that rounds the lower-right corner of the clip.
SetBottomRightRadiusX Animates the value of the BottomRightRadiusX property of this clip. The BottomRightRadiusX property specifies the x radius of the ellipse that rounds the lower-right corner of the clip.
SetBottomRightRadiusY Changes or animates the value of the BottomRightRadiusY property of this clip. The BottomRightRadiusY property specifies the y radius of the ellipse that rounds the lower-right corner of the clip.
SetBottomRightRadiusY Animates the value of the BottomRightRadiusY property of this clip. The BottomRightRadiusY property specifies the y radius of the ellipse that rounds the lower-right corner of the clip.
SetCenterX Changes the value of the CenterX property of a 2D rotation transform.
SetCenterX Animates the value of the CenterX property of a 2D rotation transform.
SetCenterX Changes the value of the CenterX property of a 3D rotation transform. The CenterX property specifies the x-coordinate of the point about which the rotation is performed. The default value is zero.
SetCenterX Animates the value of the CenterX property of a 3D rotation transform. The CenterX property specifies the x-coordinate of the point about which the rotation is performed. The default value is zero.
SetCenterX Changes the value of the CenterX property of a 2D scale transform.
SetCenterX Animates the value of the CenterX property of a 2D scale transform.
SetCenterX Changes the value of the CenterX property of a 3D scale transform.
SetCenterX Animates the value of the CenterX property of a 3D scale transform.
SetCenterX Changes the value of the CenterX property of a 2D skew transform.
SetCenterX Animates the value of the CenterX property of a 2D skew transform.
SetCenterY Changes the value of the CenterY property of a 2D rotation transform.
SetCenterY Animates the value of the CenterY property of a 2D rotation transform.
SetCenterY Changes the value of the CenterY property of a 3D rotation transform. The CenterY property specifies the y-coordinate of the point about which the rotation is performed. The default value is zero.
SetCenterY Animates the value of the CenterY property of a 3D rotation transform. The CenterY property specifies the y-coordinate of the point about which the rotation is performed. The default value is zero.
SetCenterY Changes the value of the CenterY property of a 2D scale transform.
SetCenterY Animates the value of the CenterY property of a 2D scale transform.
SetCenterY Changes the value of the CenterY property of a 3D scale transform.
SetCenterY Animates the value of the CenterY property of a 3D scale transform.
SetCenterY Changes the value of the CenterY property of a 2D skew transform.
SetCenterY Animates the value of the CenterY property of a 2D skew transform.
SetCenterZ Changes the value of the CenterZ property of a 3D rotation transform. The CenterZ property specifies the z-coordinate of the point about which the rotation is performed. The default value is zero.
SetCenterZ Animates the value of the CenterZ property of a 3D rotation transform. The CenterZ property specifies the z-coordinate of the point about which the rotation is performed. The default value is zero.
SetCenterZ Changes the value of the CenterZ property of a 3D scale transform.
SetCenterZ Animates the value of the CenterZ property of a 3D scale transform.
SetClampOutput Specifies whether to clamp color values before the effect passes the values to the next effect in the graph.
SetClampOutput Specifies whether the effect clamps color values to between 0 and 1 before the effects passes the values to the next effect in the chain.
SetClampOutput Specifies whether the effect clamps color values to between 0 and 1 before the effect passes the values to the next effect in the graph.
SetClampOutput Specifies whether the effect clamps color values to between 0 and 1 before the effect passes the values to the next effect in the graph.
SetClip Sets the Clip property of this visual to the specified rectangle.
SetClip Sets the Clip property of this visual to the specified clip object.
SetCoefficient1 Sets the first coefficient for the equation used to composite the two input images.
SetCoefficient1 Sets the first coefficient for the equation used to composite the two input images.
SetCoefficient2 Sets the second coefficient for the equation used to composite the two input images.
SetCoefficient2 Sets the second coefficient for the equation used to composite the two input images.
SetCoefficient3 Sets the third coefficient for the equation used to composite the two input images.
SetCoefficient3 Sets the third coefficient for the equation used to composite the two input images.
SetCoefficient4 Sets the fourth coefficient for the equation used to composite the two input images.
SetCoefficient4 Sets the fourth coefficient for the equation used to composite the two input images.
SetCoefficients Sets the coefficients for the equation used to composite the two input images.
SetColor Sets color of the shadow.
SetCompositeMode Sets the blending mode for this visual.
SetContent Sets the Content property of this visual to the specified bitmap or window wrapper.
SetDepthMode Sets the depth mode property associated with this visual.
SetEffect Sets the Effect property of this visual.
SetGreen Sets the green value for the color of the shadow.
SetGreen Sets the green value for the color of the shadow.
SetGreenDisable Specifies whether to apply the transfer function to the green channel.
SetGreenDisable Specifies whether to apply the transfer function to the green channel.
SetGreenSlope Sets the slope of the linear function for the green channel.
SetGreenSlope Sets the slope of the linear function for the green channel.
SetGreenTable Sets the list of values used to define the transfer function for the green channel.
SetGreenTableValue Sets a value in the green table.
SetGreenTableValue Sets a value in the green table.
SetGreenYIntercept Sets the Y-intercept of the linear function for the green channel.
SetGreenYIntercept Sets the Y-intercept of the linear function for the green channel.
SetInput Sets the the input at an index to the specified filter effect.
SetInterpolationMode Sets the interpolation mode of the effect.
SetLeft Changes the value of the Left property of a clip rectangle.
SetLeft Animates the value of the Left property of a clip rectangle.
SetMatrix Sets the matrix used by the effect to multiply the RGBA values of the image.
SetMatrix Changes all values of the matrix of this 2D transform.
SetMatrix Changes all values of the matrix of this 3D transformation effect.
SetMatrixElement Sets an element of the color matrix.
SetMatrixElement Sets an element of the color matrix.
SetMatrixElement Changes the value of one element of the matrix of this transform.
SetMatrixElement Animates the value of one element of the matrix of this 2D transform.
SetMatrixElement Changes the value of one element of the matrix of this 3D transform.
SetMatrixElement Animates the value of one element of the matrix of this 3D transform.
SetMode Sets the blend mode to use when the blend effect combines the two images.
SetMode Sets the mode for the composite effect.
SetNoise Sets the turbulence noise mode.
SetNumOctaves Sets the number of octaves for the noise function.
SetOffset Sets the coordinates where the turbulence output is generated.
SetOffsetX Changes the value of the OffsetX property of a 2D translation transform.
SetOffsetX Animates the value of the OffsetX property of a 2D translation transform.
SetOffsetX Changes the value of the OffsetX property of a 3D translation transform effect. The OffsetX property specifies the distance to translate along the x-axis.
SetOffsetX Animates the value of the OffsetX property of a 3D translation transform effect. The OffsetX property specifies the distance to translate along the x-axis.
SetOffsetX Changes the value of the OffsetX property of this visual.
SetOffsetX Changes the value of the OffsetX property of this visual.
SetOffsetY Changes the value of the OffsetY property of a 2D translation transform.
SetOffsetY Animates the value of the OffsetY property of a 2D translation transform.
SetOffsetY Changes the value of the OffsetY property of a 3D translation transform effect. The OffsetY property specifies the distance to translate along the y-axis.
SetOffsetY Animates the value of the OffsetY property of a 3D translation transform effect. The OffsetY property specifies the distance to translate along the y-axis.
SetOffsetY Changes the value of the OffsetY property of this visual.
SetOffsetY Animates the value of the OffsetY property of this visual.
SetOffsetZ Changes the value of the OffsetZ property of a 3D translation transform effect. The OffsetZ property specifies the distance to translate along the z-axis.
SetOffsetZ Animates the value of the OffsetZ property of a 3D translation transform effect. The OffsetZ property specifies the distance to translate along the z-axis.
SetOffsetZ Changes the value of OffsetZ property.
SetOffsetZ Animates the value of the OffsetZ property.
SetOpacity Changes the value of the Opacity property.
SetOpacity Animates the value of the Opacity property.
SetOpacity Sets the value of the visual's opacity property.
SetOpacity Animates the value of the visual's opacity property.
SetOpacityMode Sets the opacity mode for this visual.
SetRed Sets the red value for the color of the shadow.
SetRed Sets the red value for the color of the shadow.
SetRedDisable Specifies whether to apply the transfer function to the red channel.
SetRedDisable Specifies whether to apply the transfer function to the red channel.
SetRedSlope Sets the slope of the linear function for the red channel.
SetRedSlope Sets the slope of the linear function for the red channel.
SetRedTable Sets the list of values used to define the transfer function for the red channel.
SetRedTableValue Sets a value in the red table.
SetRedTableValue Sets a value in the red table.
SetRedYIntercept Sets the Y-intercept of the linear function for the red channel.
SetRedYIntercept Sets the Y-intercept of the linear function for the red channel.
SetRight Changes the value of the Right property of a clip rectangle.
SetRight Animates the value of the Right property of a clip rectangle.
SetRoot Sets a visual object as the new root object of a visual tree.
SetSaturation Sets the saturation of the image.
SetSaturation Sets the saturation of the image.
SetScaleX Changes the value of the ScaleX property of a 2D scale transform.
SetScaleX Animates the value of the ScaleX property of a 2D scale transform.
SetScaleX Changes the value of the ScaleX property of a 3D scale transform.
SetScaleX Animates the value of the ScaleX property of a scale transform.
SetScaleY Changes the value of the ScaleY property of a 2D scale transform.
SetScaleY Animates the value of the ScaleY property of a 2D scale transform.
SetScaleY Changes the value of the ScaleY property of a 3D scale transform.
SetScaleY Animates the value of the ScaleY property of a scale transform.
SetScaleZ Changes the value of the ScaleZ property of a 3D scale transform.
SetScaleZ Animates the value of the ScaleZ property of a scale transform.
SetSeed Sets the seed for the pseudo random generator.
SetSharpness Sets the sharpness of the effect.
SetSharpness Sets the sharpness of the effect.
SetSize Sets the size of the turbulence output.
SetStandardDeviation Sets the amount of blur to be applied to the image.
SetStandardDeviation Sets the amount of blur to be applied to the image.
SetStandardDeviation Sets the amount of blur to be applied to the alpha channel of the image.
SetStandardDeviation Sets the amount of blur to be applied to the alpha channel of the image.
SetStitchable Specifies whether stitching is on or off.
SetTop Changes the value of the Top property of a clip rectangle.
SetTop Animates the value of the Top property of a clip rectangle.
SetTopLeftRadiusX Changes or animates the value of the TopLeftRadiusX property of this clip. The TopLeftRadiusX property specifies the x radius of the ellipse that rounds the top-left corner of the clip.
SetTopLeftRadiusX Animates the value of the TopLeftRadiusX property of this clip. The TopLeftRadiusX property specifies the x radius of the ellipse that rounds the top-left corner of the clip.
SetTopLeftRadiusY Changes or animates the value of the TopLeftRadiusY property of this clip. The TopLeftRadiusY property specifies the y radius of the ellipse that rounds the top-left corner of the clip.
SetTopLeftRadiusY Animates the value of the TopLeftRadiusY property of this clip. The TopLeftRadiusY property specifies the y radius of the ellipse that rounds the top-left corner of the clip.
SetTopRightRadiusX Changes or animates the value of the TopRightRadiusX property of this clip. The TopRightRadiusX property specifies the x radius of the ellipse that rounds the top-right corner of the clip.
SetTopRightRadiusX Animates the value of the TopRightRadiusX property of this clip. The TopRightRadiusX property specifies the x radius of the ellipse that rounds the top-right corner of the clip.
SetTopRightRadiusY Changes or animates the value of the TopRightRadiusY property of this clip. The TopRightRadiusY property specifies the y radius of the ellipse that rounds the top-right corner of the clip.
SetTopRightRadiusY Animates the value of the TopRightRadiusY property of this clip. The TopRightRadiusY property specifies the y radius of the ellipse that rounds the top-right corner of the clip.
SetTransform Sets the Transform property of this visual to the specified 3-by-2 transform matrix.
SetTransform Sets the Transform property of this visual to the specified 2D transform object.
SetTransform Sets the Transform property of this visual to the specified 4-by-4 transform matrix.
SetTransform Sets the Transform property of this visual to the specified 3D transform object.
SetTransform3D Sets the 3D transformation effect object that modifies the rasterization of the visuals that this effect group is applied to.
SetTransformMatrix Sets the transform matrix of the effect.
SetTransformMatrixElement Sets an element of the transform matrix of the effect.
SetTransformMatrixElement Sets an element of the transform matrix of the effect.
SetTransformParent Sets the TransformParent property of this visual. The TransformParent property establishes the coordinate system relative to which this visual is composed.
SetVisible Changes the value of the visual's Visible property.
SetWhitePoint Sets the upper portion of the brightness transfer curve.
SetWhitePointX Sets the x value of the white point.
SetWhitePointX Sets the x value of the white point.
SetWhitePointY Sets the y value of the white point.
SetWhitePointY Sets the y value of the white point.
SuspendDraw Suspends the drawing on this Microsoft DirectComposition surface object.
Trim Discards pixels that fall outside of the specified trim rectangles.
WaitForCommitCompletion Waits for the composition engine to finish processing the previous call to the IDCompositionDevice::Commit method.
WaitForCommitCompletion Waits for the composition engine to finish processing the previous call to the IDCompositionDevice2::Commit method.

Interfaces

Title Description
IDCompositionAffineTransform2DEffect The arithmetic composite effect is used to combine 2 images using a weighted sum of pixels from the input images.
IDCompositionAnimation Represents a function for animating one or more properties of one or more Microsoft DirectComposition objects.
IDCompositionArithmeticCompositeEffect The arithmetic composite effect is used to combine 2 images using a weighted sum of pixels from the input images.
IDCompositionBlendEffect The Blend Effect is used to combine 2 images.
IDCompositionBrightnessEffect The brightness effect controls the brightness of the image.
IDCompositionClip Represents a clip object that is used to restrict the rendering of a visual subtree to a rectangular area.
IDCompositionColorMatrixEffect The color matrix effect alters the RGBA values of a bitmap.
IDCompositionCompositeEffect The composite effect is used to combine 2 or more images.
IDCompositionDesktopDevice An application must use the IDCompositionDesktopDevice interface in order to use DirectComposition in a Win32 desktop application.
IDCompositionDevice Serves as a factory for all other Microsoft DirectComposition objects and provides methods to control transactional composition.
IDCompositionDevice2 Serves as a factory for all other Microsoft DirectComposition objects and provides methods to control transactional composition.
IDCompositionDevice3 Serves as a factory for all other Microsoft DirectComposition objects and provides methods to control transactional composition.
IDCompositionDeviceDebug Provides access to rendering features that help with application debugging and performance tuning. This interface can be queried from the DirectComposition device interface.
IDCompositionEffect Represents a bitmap effect that modifies the rasterization of a visual's subtree.
IDCompositionEffectGroup Represents a group of bitmap effects that are applied together to modify the rasterization of a visual's subtree.
IDCompositionFilterEffect Represents a filter effect.
IDCompositionGaussianBlurEffect "."
IDCompositionHueRotationEffect The hue rotate effect alters the hue of an image by applying a color matrix based on the rotation angle.
IDCompositionLinearTransferEffect The linear transfer effect is used to map the color intensities of an image using a linear function created from a list of values you provide for each channel.
IDCompositionMatrixTransform Represents an arbitrary affine 2D transformation defined by a 3-by-2 matrix.
IDCompositionMatrixTransform3D Represents an arbitrary 3D transformation defined by a 4-by-4 matrix.
IDCompositionRectangleClip Represents a clip object that restricts the rendering of a visual subtree to the specified rectangular region. Optionally, the clip object may have rounded corners specified.
IDCompositionRotateTransform Represents a 2D transformation that affects the rotation of a visual around the z-axis. The coordinate system is rotated around the specified center point.
IDCompositionRotateTransform3D Represents a 3D transformation that affects the rotation of a visual along an arbitrary axis in 3D space. The coordinate system is rotated around the specified center point.
IDCompositionSaturationEffect This effect is used to alter the saturation of an image. The saturation effect is a specialization of the color matrix effect.
IDCompositionScaleTransform Represents a 2D transformation that affects the scale of a visual along the x-axis and y-axis. The coordinate system is scaled from the specified center point.
IDCompositionScaleTransform3D Represents a 3D transformation effect that affects the scale of a visual along the x-axis, y-axis, and z-axis. The coordinate system is scaled from the specified center point.
IDCompositionShadowEffect The shadow effect is used to generate a shadow from the alpha channel of an image. The shadow is more opaque for higher alpha values and more transparent for lower alpha values. You can set the amount of blur and the color of the shadow.
IDCompositionSkewTransform Represents a 2D transformation that affects the skew of a visual along the x-axis and y-axis. The coordinate system is skewed around the specified center point.
IDCompositionSurface Represents a physical bitmap that can be associated with a visual for composition in a visual tree. This interface can also be used to update the bitmap contents.
IDCompositionSurfaceFactory Creates surface and virtual surface objects associated with an application-provided rendering device.
IDCompositionTableTransferEffect The table transfer effect is used to map the color intensities of an image using a transfer function created from interpolating a list of values you provide.
IDCompositionTarget Represents a binding between a Microsoft DirectComposition visual tree and a destination on top of which the visual tree should be composed.
IDCompositionTransform Represents a 2D transformation that can be used to modify the coordinate space of a visual subtree.
IDCompositionTransform3D Represents a 3D transformation effect that can be used to modify the rasterization of a visual subtree.
IDCompositionTranslateTransform Represents a 2D transformation that affects only the offset of a visual along the x-axis and y-axis.
IDCompositionTranslateTransform3D Represents a 3D transformation that affects the offset of a visual along the x-axis, y-axis, and z-axis.
IDCompositionTurbulenceEffect The turbulence effect is used to generate a bitmap based on the Perlin noise function. The turbulence effect has no input image.
IDCompositionVirtualSurface Represents a sparsely allocated bitmap that can be associated with a visual for composition in a visual tree.
IDCompositionVisual Represents a Microsoft DirectComposition visual.
IDCompositionVisual2 Represents one DirectComposition visual in a visual tree.
IDCompositionVisual3 Represents one DirectComposition visual in a visual tree.
IDCompositionVisualDebug Represents a debug visual.

Structures

Title Description
DCOMPOSITION_FRAME_STATISTICS Describes timing and composition statistics for a frame.