Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.66 KB

File metadata and controls

30 lines (18 loc) · 1.66 KB
-api-id -api-type
T:Microsoft.UI.Composition.Compositor
winrt class

Microsoft.UI.Composition.Compositor

-description

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.

-remarks

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.

-examples

-see-also

Composition UI Overview, Composition Visual Tree Overview, IClosable, Composition visual without framework sample (Windows 10), Version adaptive code sample