Package foundry.veil
Class Veil
java.lang.Object
foundry.veil.Veil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VeilImGuiEnables writing ImGui to the screen.static voidendImGui()Disables ImGui writing.static voidinit()static VeilPlatformplatform()static net.minecraft.resources.ResourceLocationstatic voidRuns the specified code with the correct ImGui context.
-
Field Details
-
MODID
- See Also:
-
LOGGER
public static final org.slf4j.Logger LOGGER -
DEBUG
public static final boolean DEBUG -
IMGUI
public static final boolean IMGUI -
VERBOSE_SHADER_ERRORS
public static final boolean VERBOSE_SHADER_ERRORS -
SODIUM
public static final boolean SODIUM
-
-
Constructor Details
-
Veil
public Veil()
-
-
Method Details
-
init
@Internal public static void init() -
withImGui
Runs the specified code with the correct ImGui context.- Parameters:
task- The ImGui task to run
-
beginImGui
Enables writing ImGui to the screen. This useful for debugging during the normal render loop.
Be sure to call
endImGui()when done. -
endImGui
public static void endImGui()Disables ImGui writing. This should be called after done using ImGui during the main render loop. -
veilPath
-
platform
-