Package foundry.veil.impl.client.editor
Class FramebufferEditor
java.lang.Object
foundry.veil.api.client.editor.SingleWindowEditor
foundry.veil.impl.client.editor.FramebufferEditor
- All Implemented Interfaces:
Editor,AutoCloseable,org.lwjgl.system.NativeResource
-
Field Summary
FieldsFields inherited from class foundry.veil.api.client.editor.SingleWindowEditor
openFields inherited from interface foundry.veil.api.client.editor.Editor
DEFAULT_GROUP, DEFERRED_GROUP, EXAMPLE_GROUP, INFO_GROUP, RENDERER_GROUP, RESOURCE_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddrawBuffers(net.minecraft.resources.ResourceLocation id, @Nullable Consumer<AdvancedFbo> saveCallback) net.minecraft.network.chat.Componentnet.minecraft.network.chat.ComponentgetGroup()protected voidAdds all components inside the window.voidCalled just before the imgui state is drawn to the screenMethods inherited from class foundry.veil.api.client.editor.SingleWindowEditor
getWindowTitle, onShow, renderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface foundry.veil.api.client.editor.Editor
free, isEnabled, isMenuBarEnabled, isOpen, onHide, renderMenuBarMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Field Details
-
TITLE
public static final net.minecraft.network.chat.Component TITLE
-
-
Constructor Details
-
FramebufferEditor
public FramebufferEditor()
-
-
Method Details
-
getDisplayName
public net.minecraft.network.chat.Component getDisplayName()- Returns:
- The visible display name of this editor
-
getGroup
public net.minecraft.network.chat.Component getGroup()- Returns:
- The name of the tab group to put this editor in
-
renderComponents
protected void renderComponents()Description copied from class:SingleWindowEditorAdds all components inside the window.- Specified by:
renderComponentsin classSingleWindowEditor
-
renderLast
public void renderLast()Description copied from interface:EditorCalled just before the imgui state is drawn to the screen -
drawBuffers
public static void drawBuffers(net.minecraft.resources.ResourceLocation id, @Nullable @Nullable Consumer<AdvancedFbo> saveCallback)
-