Partilhar via


CompositionGraphicsDevice.CreateMipmapSurface Método

Definição

Cria uma instância de CompositionMipMapSurface.

public:
 virtual CompositionMipmapSurface ^ CreateMipmapSurface(SizeInt32 sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode) = CreateMipmapSurface;
CompositionMipmapSurface CreateMipmapSurface(SizeInt32 const& sizePixels, DirectXPixelFormat const& pixelFormat, DirectXAlphaMode const& alphaMode);
public CompositionMipmapSurface CreateMipmapSurface(SizeInt32 sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode);
function createMipmapSurface(sizePixels, pixelFormat, alphaMode)
Public Function CreateMipmapSurface (sizePixels As SizeInt32, pixelFormat As DirectXPixelFormat, alphaMode As DirectXAlphaMode) As CompositionMipmapSurface

Parâmetros

sizePixels
SizeInt32

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 CompositionMipMapSurface criado.

Requisitos do Windows

Família de dispositivos
Windows 10, version 1903 (introduzida na 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v8.0)

Aplica-se a