مشاركة عبر


CompositionGraphicsDevice.CreateMipmapSurface Method

Definition

Creates an instance of 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

Parameters

sizePixels
SizeInt32

The size in pixels of the surface.

pixelFormat
DirectXPixelFormat

The pixel format of the surface.

alphaMode
DirectXAlphaMode

How the alpha channel should be handled.

Returns

The created CompositionMipMapSurface.

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Applies to