다음을 통해 공유


CompositionGraphicsDevice.CreateDrawingSurface 메서드

정의

CompositionDrawingSurface의 instance 만듭니다.

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에서 도입되었습니다.)

적용 대상