DirectComposition

Overview of the DirectComposition technology.

To develop DirectComposition, you need these headers:

For programming guidance for this technology, see:

Enumerations

 
COMPOSITION_FRAME_ID_TYPE

Defines constants that specify the status of a compositor frame.
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

 
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.
CheckCompositionTextureSupport

Queries whether the Direct3D device that you're using to render supports composition textures.
CheckDeviceState

Determines whether the DirectComposition device object is still valid.
Commit

Commits all DirectComposition commands that are pending on this device. (IDCompositionDevice.Commit)
Commit

Commits all DirectComposition commands that are pending on this device. (IDCompositionDevice2.Commit)
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. (IDCompositionDevice.CreateAnimation)
CreateAnimation

Creates an animation object that is used to animate one or more scalar properties of one or more Microsoft DirectComposition objects. (IDCompositionDevice2.CreateAnimation)
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.
CreateCompositionTexture

Creates a composition texture referencing the passed-in Direct3D texture.
CreateEffectGroup

Creates an object that represents multiple effects to be applied to a visual subtree. (IDCompositionDevice.CreateEffectGroup)
CreateEffectGroup

Creates an object that represents multiple effects to be applied to a visual subtree. (IDCompositionDevice2.CreateEffectGroup)
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. (IDCompositionDevice.CreateMatrixTransform)
CreateMatrixTransform

Creates a 2D 3-by-2 matrix transform object. (IDCompositionDevice2.CreateMatrixTransform)
CreateMatrixTransform3D

Creates a 3D 4-by-4 matrix transform object. (IDCompositionDevice.CreateMatrixTransform3D)
CreateMatrixTransform3D

Creates a 3D 4-by-4 matrix transform object. (IDCompositionDevice2.CreateMatrixTransform3D)
CreateRectangleClip

Creates a clip object that can be used to restrict the rendering of a visual subtree to a rectangular area. (IDCompositionDevice.CreateRectangleClip)
CreateRectangleClip

Creates a clip object that can be used to restrict the rendering of a visual subtree to a rectangular area. (IDCompositionDevice2.CreateRectangleClip)
CreateRotateTransform

Creates a 2D rotation transform object. (IDCompositionDevice.CreateRotateTransform)
CreateRotateTransform

Creates a 2D rotation transform object. (IDCompositionDevice2.CreateRotateTransform)
CreateRotateTransform3D

The CreateRotateTransform3D method in the IDCompositionDevice interface creates a 3D rotation transform object.
CreateRotateTransform3D

Creates a 3D rotation transform object.
CreateSaturationEffect

Creates an instance of IDCompositionSaturationEffect.
CreateScaleTransform

The IDCompositionDevice::CreateScaleTransform method creates a 2D scale transform object.
CreateScaleTransform

Creates a 2D scale transform object.
CreateScaleTransform3D

The IDCompositionDevice::CreateScaleTransform3D method creates a 3D scale transform object.
CreateScaleTransform3D

Creates a 3D scale transform object.
CreateShadowEffect

Creates an instance of IDCompositionShadowEffect.
CreateSkewTransform

The IDCompositionDevice::CreateSkewTransform method creates a 2D skew transform object.
CreateSkewTransform

Creates a 2D skew transform object.
CreateSurface

The IDCompositionDevice::CreateSurface method creates an updatable 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

The IDCompositionDevice::CreateSurfaceFromHandle method 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

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

The IDCompositionDevice::CreateTransform3DGroup method 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

The IDCompositionDevice::CreateTransformGroup method 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

The IDCompositionDevice::CreateTranslateTransform method creates a 2D translation transform object.
CreateTranslateTransform

Creates a 2D translation transform object.
CreateTranslateTransform3D

The IDCompositionDevice::CreateTranslateTransform3D method creates a 3D translation transform object.
CreateTranslateTransform3D

Creates a 3D translation transform object.
CreateTurbulenceEffect

Creates an instance of IDCompositionTurbulenceEffect.
CreateVirtualSurface

The IDCompositionDevice::CreateVirtualSurface method 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. (IDCompositionDevice2.CreateVirtualSurface)
CreateVirtualSurface

Creates a sparsely populated surface that can be associated with one or more visuals for composition. (IDCompositionSurfaceFactory.CreateVirtualSurface)
CreateVisual

The IDCompositionDevice::CreateVisual method 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.
DCompositionBoostCompositorClock

Requests that the system dynamically switch to a higher refresh rate to enhance latency-sensitive content.
DCompositionCreateDevice

Creates a new device object that can be used to create other Microsoft DirectComposition objects. (DCompositionCreateDevice)
DCompositionCreateDevice2

Creates a new device object that can be used to create other Microsoft DirectComposition objects. (DCompositionCreateDevice2)
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.
DCompositionGetFrameId

Gets the identifier of the most recent compositor frame of the specified type.
DCompositionGetStatistics

Gets basic information about the composition frame and a list of render target ID's that are part of the frame.
DCompositionGetTargetStatistics

DCompositionWaitForCompositorClock

Halts a thread until the next signal from the compositor clock occurs.
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.
GetAvailableFence

Retrieves a Direct3D synchronization fence/value pair that indicates when the composition texture will become available, if that info is known.
GetFrameStatistics

The IDCompositionDevice::GetFrameStatistics method 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.
operator!=

Compares the values of two COMPOSITION_TARGET_ID objects to see if they contain different values.
operator==

Compares the values of two COMPOSITION_TARGET_ID objects to see if they contain identical values.
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. (overload 2/2)
SetAlpha

Sets the alpha value for the effect. (overload 1/2)
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.
SetAlphaMode

Informs the DWM whether alpha pixels in the texture should be honored or ignored.
SetAlphaSlope

The IDCompositionLinearTransferEffect::SetAlphaSlope method sets the slope of the linear function for the alpha channel.
SetAlphaSlope

The IDCompositionLinearTransferEffect::SetAlphaSlope(IDCompositionAnimation) method 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. (overload 1/2)
SetAlphaTableValue

Sets a value in the alpha table. (overload 2/2)
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

The IDCompositionHueRotationEffect::SetAngle(float) method sets the angle to rotate the hue.
SetAngle

The IDCompositionHueRotationEffect::SetAngle(IDCompositionAnimation) method 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. (overload 2/2)
SetBlackPointX

Sets the x value of the black point. (overload 1/2)
SetBlackPointY

Sets the y value of the black point. (overload 1/2)
SetBlackPointY

Sets the y value of the black point. (overload 2/2)
SetBlue

Sets the blue value for the color of the shadow. (overload 1/2)
SetBlue

Sets the blue value for the color of the shadow. (overload 2/2)
SetBlueDisable

The IDCompositionLinearTransferEffect::SetBlueDisable method specifies whether to apply the transfer function to the blue channel.
SetBlueDisable

Specifies whether to apply the transfer function to the blue channel.
SetBlueSlope

The IDCompositionLinearTransferEffect::SetBlueSlope method sets the slope of the linear function for the blue channel.
SetBlueSlope

The IDCompositionLinearTransferEffect::SetBlueSlope(IDCompositionAnimation) method 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. (overload 2/2)
SetBlueTableValue

Sets a value in the blue table. (overload 1/2)
SetBlueYIntercept

The IDCompositionLinearTransferEffect::SetBlueYIntercept method sets the Y-intercept of the linear function for the blue channel.
SetBlueYIntercept

The IDCompositionLinearTransferEffect::SetBlueYIntercept(IDCompositionAnimation) method 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

The IDCompositionLinearTransferEffect::SetClampOutput method 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. (overload 2/2)
SetCoefficient1

Sets the first coefficient for the equation used to composite the two input images. (overload 1/2)
SetCoefficient2

Sets the second coefficient for the equation used to composite the two input images. (overload 1/2)
SetCoefficient2

Sets the second coefficient for the equation used to composite the two input images. (overload 2/2)
SetCoefficient3

Sets the third coefficient for the equation used to composite the two input images. (overload 1/2)
SetCoefficient3

Sets the third coefficient for the equation used to composite the two input images. (overload 2/2)
SetCoefficient4

Sets the fourth coefficient for the equation used to composite the two input images. (overload 2/2)
SetCoefficient4

Sets the fourth coefficient for the equation used to composite the two input images. (overload 1/2)
SetCoefficients

Sets the coefficients for the equation used to composite the two input images.
SetColor

Sets color of the shadow.
SetColorSpace

Informs the system of the color space that it should map the texture into.
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. (overload 1/2)
SetGreen

Sets the green value for the color of the shadow. (overload 2/2)
SetGreenDisable

The IDCompositionLinearTransferEffect::SetGreenDisable method specifies whether to apply the transfer function to the green channel.
SetGreenDisable

Specifies whether to apply the transfer function to the green channel.
SetGreenSlope

The IDCompositionLinearTransferEffect::SetGreenSlope method sets the slope of the linear function for the green channel.
SetGreenSlope

The IDCompositionLinearTransferEffect::SetGreenSlope(IDCompositionAnimation) method 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. (overload 2/2)
SetGreenTableValue

Sets a value in the green table. (overload 1/2)
SetGreenYIntercept

The IDCompositionLinearTransferEffect::SetGreenYIntercept method 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 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. (overload 1/2)
SetMatrixElement

Sets an element of the color matrix. (overload 2/2)
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. (overload 1/2)
SetOffsetX

Changes the value of the OffsetX property of this visual. (overload 2/2)
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. (overload 2/2)
SetRed

Sets the red value for the color of the shadow. (overload 1/2)
SetRedDisable

Specifies whether to apply the transfer function to the red channel. (IDCompositionLinearTransferEffect.SetRedDisable)
SetRedDisable

Specifies whether to apply the transfer function to the red channel. (IDCompositionTableTransferEffect.SetRedDisable)
SetRedSlope

Sets the slope of the linear function for the red channel. (overload 2/2)
SetRedSlope

Sets the slope of the linear function for the red channel. (overload 1/2)
SetRedTable

Sets the list of values used to define the transfer function for the red channel.
SetRedTableValue

Sets a value in the red table. (overload 1/2)
SetRedTableValue

Sets a value in the red table. (overload 2/2)
SetRedYIntercept

Sets the Y-intercept of the linear function for the red channel. (overload 1/2)
SetRedYIntercept

Sets the Y-intercept of the linear function for the red channel. (overload 2/2)
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. (overload 2/2)
SetSaturation

Sets the saturation of the image. (overload 1/2)
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. (overload 2/2)
SetSharpness

Sets the sharpness of the effect. (overload 1/2)
SetSize

Sets the size of the turbulence output.
SetSourceRect

Specifies the region of a Direct3D texture that the composition texture represents.
SetStandardDeviation

The IDCompositionGaussianBlurEffect::SetStandardDeviation(float) method sets the amount of blur to be applied to the image.
SetStandardDeviation

The IDCompositionGaussianBlurEffect::SetStandardDeviation(IDCompositionAnimation) method 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. (overload 1/2)
SetStandardDeviation

Sets the amount of blur to be applied to the alpha channel of the image. (overload 2/2)
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. (overload 1/2)
SetTransformMatrixElement

Sets an element of the transform matrix of the effect. (overload 2/2)
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. (overload 2/2)
SetWhitePointX

Sets the x value of the white point. (overload 1/2)
SetWhitePointY

Sets the y value of the white point. (overload 2/2)
SetWhitePointY

Sets the y value of the white point. (overload 1/2)
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

 
IDCompositionAffineTransform2DEffect

The arithmetic composite effect is used to combine 2 images using a weighted sum of pixels from the input images. (IDCompositionAffineTransform2DEffect)
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. (IDCompositionArithmeticCompositeEffect)
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. (IDCompositionDevice)
IDCompositionDevice2

Serves as a factory for all other Microsoft DirectComposition objects and provides methods to control transactional composition. (IDCompositionDevice2)
IDCompositionDevice3

Serves as a factory for all other Microsoft DirectComposition objects and provides methods to control transactional composition. (IDCompositionDevice3)
IDCompositionDevice4

Serves as the root factory for composition textures.
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

The Gaussian blur effect is used to blur an image by a Gaussian function, typically to reduce image noise and reduce detail.
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. (IDCompositionMatrixTransform)
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.
IDCompositionTexture

The interface to an object that represents a raw Direct3D texture that can be bound to a DComp visual as content.
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. (IDCompositionVisual2)
IDCompositionVisual3

Represents one DirectComposition visual in a visual tree. (IDCompositionVisual3)
IDCompositionVisualDebug

Represents a debug visual.

Structures

 
COMPOSITION_FRAME_STATS

Describes timing and composition statistics for a compositor frame.
COMPOSITION_STATS

Describes timing and composition information.
COMPOSITION_TARGET_ID

Contains information about a composition render target.
COMPOSITION_TARGET_STATS

Contains per-target information for a composition frame and render target.
DCOMPOSITION_FRAME_STATISTICS

Describes timing and composition statistics for a frame.