Interface WebXRRenderTarget
Hierarchy
- IDisposable
- WebXRRenderTarget
Implemented by
Index
Properties
Methods
Properties
canvas ContextSearch playground for canvasContext
xrpresent context of the canvas which can be used to display/mirror xr content
xr LayerSearch playground for xrLayer
xr layer for the canvas
Methods
disposeSearch playground for dispose
Releases all held resources
Returns void
initializeXRLayer AsyncSearch playground for initializeXRLayerAsync
Initializes a XRWebGLLayer to be used as the session's baseLayer.
Parameters
xrSession: XRSession
xr session
Returns Promise<XRWebGLLayer>
a promise that will resolve once the XR Layer has been created
Abstraction of the XR render target