Package foundry.veil
Class Veil
java.lang.Object
foundry.veil.Veil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VeilImGui
Enables writing ImGui to the screen.static void
endImGui()
Disables ImGui writing.static void
init()
static VeilPlatform
platform()
static net.minecraft.resources.ResourceLocation
static void
Runs 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
-