Interface ResourceManager

All Known Implementing Classes:
GuiRender, OpenGLGuiRender

public interface ResourceManager
  • Method Details

    • loadTexture

      Texture loadTexture(String path)
    • loadTexture

      Texture loadTexture(String path, boolean isLinear)
    • loadTexture

      Texture loadTexture(byte[] data)
    • loadTexture

      Texture loadTexture(byte[] data, boolean isLinear)
    • unloadTexture

      void unloadTexture(Texture texture)
    • unloadTexture

      default void unloadTexture(Texture... textures)
    • loadNiceSliceTexture

      Texture loadNiceSliceTexture(String path, NiceSliceType type, boolean stretchInner, int left, int right, int top, int bottom)
    • loadNiceSliceTexture

      Texture loadNiceSliceTexture(String path, NiceSliceType type, boolean stretchInner, boolean isLinear, int left, int right, int top, int bottom)
    • loadNiceSliceTexture

      Texture loadNiceSliceTexture(byte[] data, NiceSliceType type, boolean stretchInner, int left, int right, int top, int bottom)
    • loadNiceSliceTexture

      Texture loadNiceSliceTexture(byte[] data, NiceSliceType type, boolean stretchInner, boolean isLinear, int left, int right, int top, int bottom)
    • loadFont

      Font loadFont(String path)
    • unloadFont

      void unloadFont(Font font)
    • unloadFont

      default void unloadFont(Font... fonts)