XRWebGLSubImage
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The XRWebGLSubImage interface is used during rendering of WebGL layers.
Properties
Inherits properties from its parent, XRSubImage.
XRWebGLSubImage.colorTextureRead only-
A color
WebGLTextureobject for theXRCompositionLayerto render. XRWebGLSubImage.depthStencilTextureRead only-
A depth/stencil
WebGLTextureobject for theXRCompositionLayerto render. XRWebGLSubImage.imageIndexRead only-
A number representing the offset into the texture array if the layer was requested with
texture-array;nullotherwise. XRWebGLSubImage.textureWidthRead only-
A number representing the width in pixels of the GL attachment.
XRWebGLSubImage.textureHeightRead only-
A number representing the height in pixels of the GL attachment.
Specifications
No specification found
No specification data found for api.XRWebGLSubImage.
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.
Browser compatibility
No compatibility data found for api.XRWebGLSubImage.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.