Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebXRRenderTarget

Abstraction of the XR render target

Hierarchy

Implemented by

Index

Properties

canvasContextSearch playground for canvasContext

canvasContext: WebGLRenderingContext

xrpresent context of the canvas which can be used to display/mirror xr content

xrLayerSearch playground for xrLayer

xr layer for the canvas

Methods

disposeSearch playground for dispose

  • dispose(): void
  • Releases all held resources

    Returns void

initializeXRLayerAsyncSearch playground for initializeXRLayerAsync

  • Initializes a XRWebGLLayer to be used as the session's baseLayer.

    Parameters

    Returns Promise<XRWebGLLayer>

    a promise that will resolve once the XR Layer has been created

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method