Interface IWebXRRenderTargetTextureProvider
Hierarchy
- IDisposable
- IWebXRRenderTargetTextureProvider
Implemented by
Index
Methods
disposeSearch playground for dispose
Releases all held resources
Returns void
get Render Target Texture For EyeSearch playground for getRenderTargetTextureForEye
Gets the correct render target texture to be rendered this frame for this eye
Parameters
eye: XREye
the eye for which to get the render target
Returns Nullable<RenderTargetTexture>
the render target for the specified eye or null if not available
get Render Target Texture For ViewSearch playground for getRenderTargetTextureForView
Gets the correct render target texture to be rendered this frame for this view
Parameters
view: XRView
the view for which to get the render target
Returns Nullable<RenderTargetTexture>
the render target for the specified view or null if not available
try Set Viewport For ViewSearch playground for trySetViewportForView
Attempts to set the framebuffer-size-normalized viewport to be rendered this frame for this view. In the event of a failure, the supplied viewport is not updated.
Parameters
viewport: Viewport
the viewport to which the view will be rendered
view: XRView
the view for which to set the viewport
Returns boolean
whether the operation was successful
An interface for objects that provide render target textures for XR rendering.