Class TextureUtil
java.lang.Object
net.minecraft.client.renderer.texture.TextureUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
bind
(int p_225686_0_) static int
static void
initTexture
(IntBuffer p_225685_0_, int p_225685_1_, int p_225685_2_) static void
prepareImage
(int p_225680_0_, int p_225680_1_, int p_225680_2_) static void
prepareImage
(int p_225681_0_, int p_225681_1_, int p_225681_2_, int p_225681_3_) static void
prepareImage
(NativeImage.PixelFormatGLCode p_225682_0_, int p_225682_1_, int p_225682_2_, int p_225682_3_) static void
prepareImage
(NativeImage.PixelFormatGLCode p_225683_0_, int p_225683_1_, int p_225683_2_, int p_225683_3_, int p_225683_4_) static ByteBuffer
readResource
(InputStream p_225684_0_) static String
readResourceAsString
(InputStream p_225687_0_) static void
releaseTextureId
(int p_225679_0_)
-
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
- Throws:
IOException
-
readResourceAsString
-
initTexture
-