BitmapBuffer 클래스

정의

비트맵의 픽셀 데이터 버퍼를 나타냅니다.

public ref class BitmapBuffer sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.GCPressure]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BitmapBuffer final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.GCPressure]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BitmapBuffer : System.IDisposable
Public NotInheritable Class BitmapBuffer
Implements IDisposable
상속
Object Platform::Object IInspectable BitmapBuffer
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

SoftwareBitmap.LockBuffer를 호출하여 이 클래스의 instance 가져옵니다. BitmapBuffer는 연결된 비트맵에 대한 배타적 잠금을 나타내므로 앱은 이에 대한 참조를 무기한으로 유지해서는 안 됩니다.

메서드

Close()

개체 및 연결된 리소스를 삭제합니다.

CreateReference()

기본 메모리 버퍼에 대한 참조를 만듭니다.

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

GetPlaneCount()

비트맵 버퍼의 비트 평면 수를 가져옵니다.

GetPlaneDescription(Int32)

지정된 인덱스를 사용하여 비트 평면의 비트맵 데이터의 크기, 오프셋 및 보폭을 설명하는 BitmapPlaneDescription 개체를 가져옵니다.

적용 대상

추가 정보