Language

CompositionGraphicsDevice.CreateDrawingSurface メソッド

定義

CompositionDrawingSurface のインスタンスを作成します。

public:
 virtual CompositionDrawingSurface ^ CreateDrawingSurface(Size sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode) = CreateDrawingSurface;
CompositionDrawingSurface CreateDrawingSurface(Size const& sizePixels, DirectXPixelFormat const& pixelFormat, DirectXAlphaMode const& alphaMode);
public CompositionDrawingSurface CreateDrawingSurface(Size sizePixels, DirectXPixelFormat pixelFormat, DirectXAlphaMode alphaMode);
function createDrawingSurface(sizePixels, pixelFormat, alphaMode)
Public Function CreateDrawingSurface (sizePixels As Size, pixelFormat As DirectXPixelFormat, alphaMode As DirectXAlphaMode) As CompositionDrawingSurface

パラメーター

sizePixels
Size

サーフェスのサイズ (ピクセル単位)。

pixelFormat
DirectXPixelFormat

サーフェスのピクセル形式。

alphaMode
DirectXAlphaMode

アルファ チャネルの処理方法。

返品

作成された CompositionDrawingSurface。

Windows の要件

要件 説明
デバイス ファミリ
Windows 10 (10.0.10586.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v2.0 で導入)

適用対象