ICompositionTextureInterop interface (windows.ui.composition.interop.h)

Important

Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

To access interop methods, query ICompositionTextureInterop from the composition texture object.

The interface to an object that represents a raw Direct3D texture that can be bound to a DComp visual as content. The object can be used anywhere that a generic composition surface can be used in those APIs today—for example, as the content of a visual or a surface brush. The object exposes an available fence, which can be used to synchronize application rendering and composition work. Can also accept various attributes, such as an alpha mode, source rect, and color space, to more precisely define the content being displayed.

The composition textures API supports Direct3D 11 only.

Inheritance

The ICompositionTextureInterop interface inherits from the IUnknown interface.

Methods

The ICompositionTextureInterop interface has these methods.

 
ICompositionTextureInterop::GetAvailableFence

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

Requirements

Requirement Value
Header windows.ui.composition.interop.h