Interfaces

This section describes the interfaces provided by the Microsoft DirectComposition API.

In this section

Topic 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 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.
IDCompositionColorMatrixEffect
The color matrix effect alters the RGBA values of a bitmap.
IDCompositionCompositeEffect
The composite effect is used to combine 2 or more images. This effect has 13 different composite modes. The composite effect accepts 2 or more inputs. When you specify 2 images, destination is the first input (index 0) and the source is the second input (index 1). If you specify more than 2 inputs, the images are composited starting with the first input and the second and so on.
IDCompositionClip
Represents a clip object that is used to restrict the rendering of a visual subtree to a rectangular area.
IDCompositionDesktopDevice
An application must use the IDCompositionDesktopDevice interface in order to use DirectComposition in a Win32 desktop application. This interface allows the application to connect a visual tree to a window and to host layered child windows for composition
IDCompositionDevice
Serves as a factory for all other DirectComposition objects and provides methods to control transactional composition.
IDCompositionDevice2
Serves as a factory for all other DirectComposition objects and provides methods to control transactional composition.
IDCompositionDevice3
Serves as a factory for all other 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.
IDCompositionFloodEffect
The flood effect is used to generate a bitmap based on the specified color and alpha value. You can use this effect when you want a specific color as an input for an effect, like a background color.
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.
IDCompositionSaturationEffect
This effect is used to alter the saturation of an image. The saturation effect is a specialization of the color matrix effect.
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.
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.
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.
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.
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.
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.
IDCompositionSurfaceFactory
Creates surface and virtual surface objects associated with an application-provided rendering device.
IDCompositionTarget
Represents a binding between a 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.
IDCompositionTurbulenceEffect
The turbulence effect is used to generate a bitmap based on the Perlin noise function. The turbulence effect has no input image.
IDCompositionTranslateTransform3D
Represents a 3D transformation that affects the offset of a visual along the x-axis, y-axis, and z-axis.
IDCompositionVirtualSurface
Represents a sparsely allocated bitmap that can be associated with a visual for composition in a visual tree.
IDCompositionVisual
Represents a 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.

DirectComposition Reference