Package foundry.veil.api.client.render
Class GuiInfo
java.lang.Object
foundry.veil.api.client.render.GuiInfo
Manages the global gui context variables.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VeilShaderBufferLayout
<GuiInfo> float
boolean
void
unbind()
Unbinds this shader block.void
update()
Updates the camera matrices to match the current render system projection.
-
Constructor Details
-
GuiInfo
public GuiInfo()Creates a new set of camera matrices.
-
-
Method Details
-
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
-