XRWebGLBinding interface is used to create layers that have a GPU backend.
Creates a new
XRWebGLBindingobject for the specified XR session and WebGL rendering context.
scaleFactorthat was passed in during the construction of the projection layer. The native buffer size is scaled by this number.
XRProjectionLayerobject which is a layer that fills the entire view of the observer and is refreshed close to the device's native frame rate.
XRWebGLDepthInformationobject containing WebGL depth information.
WebGLTextureobject containing a reflection cube map texture.
XRWebGLSubImageobject representing the WebGL texture to render.
|WebXR Layers API Level 1 (WebXR Layers API 1)|
BCD tables only load in the browser