CompositionGraphicsDevice.CreateMipmapSurface 方法

定义

创建 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

参数

sizePixels
SizeInt32

图面的大小(以像素为单位)。

pixelFormat
DirectXPixelFormat

图面的像素格式。

alphaMode
DirectXAlphaMode

应如何处理 alpha 通道。

返回

创建的 CompositionMipMapSurface

适用于