Options
All
  • Public
  • Public/Protected
  • All
Menu

An interface for objects that provide render target textures for XR rendering.

Hierarchy

Implemented by

Index

Methods

  • dispose(): void
  • Releases all held resources

    Returns void

  • 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

  • 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

  • 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

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme