Edit

Share via


dcomp.h header

This header is used by DirectComposition. For more information, see:

dcomp.h contains the following programming interfaces:

Interfaces

 
IDCompositionAffineTransform2DEffect

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

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

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.

Functions

 
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.

Structures