v147 · UI Overlay Simulator
UI Overlay Simulator
The key use case for XRQuadLayer is placing a sharp 2D UI panel in XR space without the blurring introduced by passing through the projection framebuffer. Toggle layers on and off to see how the compositor stacks a background equirect, a 3D scene projection, and a crisp quad UI overlay.
XRQuadLayer and XREquirectLayer composition only happens inside an active XR session.
Fills the full field of view with a 360° environment texture. Rendered first, composited underneath everything else.
The main 3D WebGL render. Drawn into the projection framebuffer and composited on top of the equirect background.
A flat 2D panel rendered to its own high-res texture and composited last. Avoids the double-resampling blurring of baking UI into the projection layer.
see also
- Compositor Model — live render-cost comparison
- Back to feature index
- ChromeStatus entry
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗