Class TextureEditor

java.lang.Object
foundry.veil.editor.SingleWindowEditor
foundry.veil.editor.TextureEditor
All Implemented Interfaces:
Editor, AutoCloseable, org.lwjgl.system.NativeResource

public class TextureEditor extends SingleWindowEditor
  • Constructor Details

    • TextureEditor

      public TextureEditor()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Returns:
      The visible display name of this editor
    • renderComponents

      protected void renderComponents()
      Description copied from class: SingleWindowEditor
      Adds all components inside the window.
      Specified by:
      renderComponents in class SingleWindowEditor
    • render

      public void render()
      Description copied from interface: Editor
      Renders this editor to the screen.
      Specified by:
      render in interface Editor
      Overrides:
      render in class SingleWindowEditor
    • renderLast

      public void renderLast()
      Description copied from interface: Editor
      Called just before the imgui state is drawn to the screen
    • renderMenuBar

      public void renderMenuBar()
      Description copied from interface: Editor
      Renders elements into the menu bar. Only called if Editor.isMenuBarEnabled() is true.
    • isMenuBarEnabled

      public boolean isMenuBarEnabled()
      Returns:
      Whether this editor should draw into the menu bar
    • onHide

      public void onHide()
      Description copied from interface: Editor
      Called when this editor is no longer open.