IPresentationSurface interface (presentation.h)

Describes an IPresentationContent with a single bound buffer, that can be shared with the system compositor and displayed as content in the global visual tree.

Inheritance

The IPresentationSurface interface inherits from the IPresentationContent interface.

Methods

The IPresentationSurface interface has these methods.

 
IPresentationSurface::RestrictToOutput

Restricts presentation to a specific display adapter output.
IPresentationSurface::SetAlphaMode

Sets the transparency behavior of the presentation surface.
IPresentationSurface::SetBuffer

Sets the presentation buffer associated with this presentation surface.
IPresentationSurface::SetColorSpace

Sets the type of color space used by the presentation surface.
IPresentationSurface::SetDisableReadback

Sets a flag to disable or enable buffer read back.
IPresentationSurface::SetLetterboxingMargins

Sets the size, in visual space, taken by each letterbox area.
IPresentationSurface::SetSourceRect

Sets the area of the source presentation buffer to sample from.
IPresentationSurface::SetTransform

Sets the transform applied to the source buffer area to define the on-screen area where the buffer will appear.

Requirements

   
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header presentation.h

See also

IPresentationContent