https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLSubImage/colorTextureWidth
XRWebGLSubImage: colorTextureWidth property - Web APIs | MDN
The read-only colorTextureWidth property of the XRWebGLSubImage interface is a number representing the width in pixels of the GL attachment.
web apispropertymdn