Compartilhar via


CompositionGraphicsDevice.CreateDrawingSurface Método

Definição

Cria uma instância de 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

Parâmetros

sizePixels
Size

O tamanho em pixels da superfície.

pixelFormat
DirectXPixelFormat

O formato de pixel da superfície.

alphaMode
DirectXAlphaMode

Como o canal alfa deve ser tratado.

Retornos

O CompositionDrawingSurface criado.

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v2.0)

Aplica-se a