MDN self-hosted library · e01.org

XRLayer

WebXR Device API

no runnable cells web-api-interface upstream source

WebXR Device API

The XRLayer interface of the WebXR Device API is the base class for WebXR layer types. It inherits methods from EventTarget.

Interfaces based on XRLayer

Below is a list of interfaces based on the XRLayer interface.

  • XRCompositionLayer
  • XRWebGLLayer

Instance methods

Inherits methods from its parent, EventTarget.

Specifications

Browser compatibility

See also

  • XRCompositionLayer
  • XRWebGLLayer
  • EventTarget