Interface MagoRenderingSession

All Superinterfaces:
AutoCloseable

public interface MagoRenderingSession extends AutoCloseable
  • Method Details

    • renderIntoFbo

      void renderIntoFbo(MagoRenderableScene scene, MagoRenderContext context)
    • readback

      default void readback()
      Copies backend-owned render targets into their corresponding CPU FBOs. Software sessions already render into CPU FBOs and therefore do nothing.
    • reset

      default void reset(MagoFbo fbo)
      Resets a backend target from the current CPU FBO clear values.
    • getComparisonFbo

      default MagoFbo getComparisonFbo(MagoFbo fbo)
      Returns the backend result for comparison without replacing the CPU FBO.
    • close

      void close()
      Specified by:
      close in interface AutoCloseable