Share via


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.

Applies to