Partilhar via


CompositionGraphicsDevice.CreateDrawingSurface2 Método

Definição

Cria uma instância de CompositionDrawingSurface.

public:
 virtual CompositionDrawingSurface ^ CreateDrawingSurface2(SizeInt32 sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode) = CreateDrawingSurface2;
CompositionDrawingSurface CreateDrawingSurface2(SizeInt32 const& sizePixels, DirectXPixelFormat const& pixelFormat, DirectXAlphaMode const& alphaMode);
public CompositionDrawingSurface CreateDrawingSurface2(SizeInt32 sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode);
function createDrawingSurface2(sizePixels, pixelFormat, alphaMode)
Public Function CreateDrawingSurface2 (sizePixels As SizeInt32, pixelFormat As DirectXPixelFormat, alphaMode As DirectXAlphaMode) As CompositionDrawingSurface

Parâmetros

sizePixels
SizeInt32

O tamanho da superfície de desenho em pixels.

pixelFormat
DirectXPixelFormat

O formato de pixel da superfície de desenho.

alphaMode
DirectXAlphaMode

O modo alfa da superfície de desenho.

Retornos

Retorna o CompositionDrawingSurface criado.

Aplica-se a