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 the xr layer for the session

    Parameters

    Returns Promise<XRWebGLLayer>

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

Legend

  • Property
  • Method
  • Constructor
  • Property
  • Static method