다음을 통해 공유


CompositorController 클래스

정의

의도한 컴퍼지션 변경 내용을 명시적으로 커밋해야 하는 작성자를 나타냅니다.

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

Windows 요구 사항

디바이스 패밀리
Windows 10, version 1803 (10.0.17134.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v6.0에서 도입되었습니다.)

설명

CompositorController를 사용하면 의도한 컴퍼지션 변경 내용을 명시적으로 커밋해야 하는 작성기를 만들고 제어할 수 있습니다. 이는 직접 호출 없이 커밋이 암시적으로 발생하는 ElementCompositionPreview.GetElementVisual 호출에 의해 반환된 시각적 개체에서 가져온 작성자와는 대조적입니다.

생성자

CompositorController()

CompositorController 클래스의 새 instance 초기화합니다.

속성

Compositor

이 컴퍼지션 컨트롤러와 연결된 작성자를 가져옵니다.

메서드

Close()

CompositorController에서 사용하는 시스템 리소스를 해제합니다.

Commit()

이 CompositorController와 연결된 작성자에서 커밋을 호출합니다.

Dispose()

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

EnsurePreviousCommitCompletedAsync()

이전 커밋이 완료되었는지 확인합니다.

이벤트

CommitNeeded

컴퍼지션 개체의 변경 내용이 화면에 반영되려면 프레임워크가 Commit을 호출해야 할 때 발생합니다.

적용 대상