Class GuiInfo

java.lang.Object
foundry.veil.api.client.render.GuiInfo

public class GuiInfo extends Object
Manages the global gui context variables.
  • Constructor Details

    • GuiInfo

      public GuiInfo()
      Creates a new set of camera matrices.
  • Method Details

    • createLayout

      public static VeilShaderBufferLayout<GuiInfo> createLayout()
    • update

      public void update()
      Updates the camera matrices to match the current render system projection.
    • unbind

      public void unbind()
      Unbinds this shader block.
    • getGuiScale

      public float getGuiScale()
      Returns:
      The far clipping plane of the frustum
    • isGuiRendering

      public boolean isGuiRendering()
      Returns:
      Whether the gui is currently being drawn