v144 · WebXR

Mask Mesh Inspector

Inspect the XRVisibilityMaskChangeEvent payload: vertices and indices describing the visible mesh of an XR viewport. Renderers use that mesh as a stencil or foveation input so clipped pixels are skipped instead of shaded every frame.

Visibility mesh and foveation lab

navigator.xr checking event constructor checking handler attribute checking

vertex and index payload

#xytriangles

event payload

the API

see also