Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The XRSubImage
interface of the WebXR Device API represents what viewport of the GPU texture to use for rendering.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The XRSubImage
interface of the WebXR Device API represents what viewport of the GPU texture to use for rendering.
XRSubImage
Below is a list of interfaces based on the XRSubImage
interface.
XRWebGLSubImage
: used during rendering of WebGL layers.XRSubImage.viewport
Read only
The XRViewport
used when rendering the sub image.
No specification data found for api.XRSubImage
.
Check for problems with this page or contribute a missing spec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
No compatibility data found for api.XRSubImage
.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/XRSubImage