XRSubImage
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
TheXRSubImage interface of theWebXR Device API represents what viewport of the GPU texture to use for rendering.
In this article
Interfaces based onXRSubImage
Below is a list of interfaces based on theXRSubImage interface.
XRWebGLSubImage: used during rendering of WebGL layers.
Instance properties
XRSubImage.viewportRead onlyExperimentalThe
XRViewportused when rendering the sub image.
Specifications
| Specification |
|---|
| WebXR Layers API Level 1> # xrsubimagetype> |