Class GuiInfo

java.lang.Object
foundry.veil.render.GuiInfo
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource

public class GuiInfo extends Object implements org.lwjgl.system.NativeResource
Manages the global gui context variables.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new set of camera matrices.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    float
     
    void
    Unbinds this shader block.
    void
    Updates the camera matrices to match the current render system projection.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.lwjgl.system.NativeResource

    close
  • Constructor Details

    • GuiInfo

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

    • 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
    • free

      public void free()
      Specified by:
      free in interface org.lwjgl.system.NativeResource