XRWebGLSubImage: colorTextureWidth property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The read-only colorTextureWidth property of the XRWebGLSubImage interface is a number representing the width in pixels of the GL attachment.


A number indicating the width in pixels.


WebXR Layers API Level 1
# dom-xrwebglsubimage-colortexturewidth

Browser compatibility

BCD tables only load in the browser

See also