Class TextureUtil

java.lang.Object
net.minecraft.client.renderer.texture.TextureUtil

public class TextureUtil extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
  • Constructor Details

    • TextureUtil

      public TextureUtil()
  • Method Details

    • generateTextureId

      public static int generateTextureId()
    • releaseTextureId

      public static void releaseTextureId(int p_225679_0_)
    • prepareImage

      public static void prepareImage(int p_225680_0_, int p_225680_1_, int p_225680_2_)
    • prepareImage

      public static void prepareImage(NativeImage.PixelFormatGLCode p_225682_0_, int p_225682_1_, int p_225682_2_, int p_225682_3_)
    • prepareImage

      public static void prepareImage(int p_225681_0_, int p_225681_1_, int p_225681_2_, int p_225681_3_)
    • prepareImage

      public static void prepareImage(NativeImage.PixelFormatGLCode p_225683_0_, int p_225683_1_, int p_225683_2_, int p_225683_3_, int p_225683_4_)
    • bind

      private static void bind(int p_225686_0_)
    • readResource

      public static ByteBuffer readResource(InputStream p_225684_0_) throws IOException
      Throws:
      IOException
    • readResourceAsString

      public static String readResourceAsString(InputStream p_225687_0_)
    • initTexture

      public static void initTexture(IntBuffer p_225685_0_, int p_225685_1_, int p_225685_2_)