XRWebGLSubImage.textureWidth

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

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

Value

A number indicating the width in pixels.

Specifications

Specification
WebXR Layers API Level 1
# dom-xrwebglsubimage-texturewidth

Browser compatibility

BCD tables only load in the browser

See also