IDCompositionSurfaceFactory

An IDCompositionSurfaceFactory interface represents an object that can create surfaces suitable for composition.

Members

Functions

CreateSurface
HRESULT CreateSurface(UINT width, UINT height, DXGI_FORMAT pixelFormat, DXGI_ALPHA_MODE alphaMode, IDCompositionSurface* surface)

Creates a DirectComposition surface object

CreateVirtualSurface
HRESULT CreateVirtualSurface(UINT initialWidth, UINT initialHeight, DXGI_FORMAT pixelFormat, DXGI_ALPHA_MODE alphaMode, IDCompositionVirtualSurface* virtualSurface)

Creates a DirectComposition virtual surface object

Meta