IDCompositionSurfaceFactory interface

Creates surface and virtual surface objects associated with an application-provided rendering device.

Methods

The IDCompositionSurfaceFactory interface has these methods.

Method Description
IDCompositionSurfaceFactory::CreateSurface Creates a surface object that can be associated with one or more visuals for composition.
IDCompositionSurfaceFactory::CreateVirtualSurface Creates a sparsely populated surface that can be associated with one or more visuals for composition.

Requirements

   
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header dcomp.h

See Also

IDCompositionDevice2

IDCompositionSurface

IDCompositionVirtualSurface