CompositionGraphicsDevice.CreateDrawingSurface Metodo

Definizione

Crea un'istanza di CompositionDrawingSurface.

public:
 virtual CompositionDrawingSurface ^ CreateDrawingSurface(Size sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode) = CreateDrawingSurface;
CompositionDrawingSurface CreateDrawingSurface(Size const& sizePixels, DirectXPixelFormat const& pixelFormat, DirectXAlphaMode const& alphaMode);
public CompositionDrawingSurface CreateDrawingSurface(Size sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode);
function createDrawingSurface(sizePixels, pixelFormat, alphaMode)
Public Function CreateDrawingSurface (sizePixels As Size, pixelFormat As DirectXPixelFormat, alphaMode As DirectXAlphaMode) As CompositionDrawingSurface

Parametri

sizePixels
Size

Dimensioni in pixel della superficie.

pixelFormat
DirectXPixelFormat

Formato pixel della superficie.

alphaMode
DirectXAlphaMode

Come deve essere gestito il canale alfa.

Restituisce

Oggetto CompositionDrawingSurface creato.

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v2.0)

Si applica a