Interface IRenderTarget

All Superinterfaces:
IRenderedFrameProvider, IRenderTargetPresentable
All Known Implementing Classes:
OpenGLRenderTarget

public interface IRenderTarget extends IRenderTargetPresentable
Responsible for preparation for drawing frames to 'outputs'. This part of the RenderTarget is owned and controlled only by the Player.
See Also:
  • Method Details

    • activate

      void activate()
      Activate rendering context
    • destroy

      void destroy()
      Destroy RenderTarget and release resources
    • resize

      void resize()
      Recalculate viewport size and set new draw sizes
    • setFrameTimeNanos

      void setFrameTimeNanos(long timeNanos)
      Set frame drawing time. Necessary for correct video recording
      Parameters:
      timeNanos - current frame drawing time in nanoseconds