Compositor Services
Take control of the drawing environment and render your own content using Metal.
Overview
Compositor Services lets you draw directly to the device’s displays using Metal and your own rendering engine. Use this framework to create a fully immersive scene in your app that doesn’t require integration with the person’s surroundings.
When you present an immersive space with CompositorLayer content from your app, you receive a LayerRenderer with the information you need to set up your Metal drawing environment. Use the layer to start your rendering loop and deliver successive frames of content. The layer provides the timing information you need to deliver frames at the refresh rate of the display. It also provides the Metal textures and other information that you need to draw content on the device displays.
For more information about how to draw your app’s content using Metal, see Metal.
Topics
App integration
Drawing fully immersive content using MetalInteracting with virtual content blended with passthroughRendering hover effects in Metal immersive appsCompositorLayerCompositorLayerConfigurationDefaultCompositorLayerConfiguration