-api-id | -api-type |
---|---|
T:Microsoft.UI.Composition.Compositor |
winrt class |
Manages the session between an application and the system compositor process.
The Compositor class creates an instance of the Compositor for the application that can be used as a factory for a variety of types in the Windows.UI.Composition namespace spanning the visual layer, effects system and animation system. The Compositor class also manages the lifetime of objects created from the factory.
The Compositor implicitly synchronizes changes made to associated visuals to ensure they get applied in a transactional manner.
See the Composition UI Overview and Composition Visual Tree Overview for more information.
New instances of Compositor must be created on a thread that has a CoreDispatcher.
Composition UI Overview, Composition Visual Tree Overview, IClosable, Composition visual without framework sample (Windows 10), Version adaptive code sample