CompositionGraphicsDevice.CreateMipmapSurface Metodo

Definizione

Crea un'istanza di 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

Parametri

sizePixels
SizeInt32

Dimensioni in pixel della superficie.

pixelFormat
DirectXPixelFormat

Formato pixel della superficie.

alphaMode
DirectXAlphaMode

Come deve essere gestito il canale alfa.

Restituisce

Oggetto CompositionMipMapSurface creato.

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 1903 (è stato introdotto in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v8.0)

Si applica a