java.lang.Object
io.github.somesourcecode.someguiapi.scene.context.RenderContext

public class RenderContext extends Object
The context in which a pixel is rendered.
Since:
2.0.0
  • Constructor Details

    • RenderContext

      public RenderContext(Gui gui, Scene scene)
      Constructs a new render context.
      Parameters:
      gui - the gui
      scene - the scene
      Since:
      2.0.0
  • Method Details

    • getGui

      public Gui getGui()
      Returns the gui in which the pixel is rendered.
      Returns:
      the gui
      Since:
      2.0.0
    • getScene

      public Scene getScene()
      Returns the scene in which the pixel is rendered.
      Returns:
      the scene
      Since:
      2.0.0