Package com.prupe.mcpatcher.hd
Class MipmapHelper
java.lang.Object
com.prupe.mcpatcher.hd.MipmapHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopySubTexture(int[] rgb, int width, int height, int x, int y, String textureName) static voidcopySubTexture(TextureAtlasSprite texture, int index) static voidsetupTexture(int[] rgb, int width, int height, int x, int y, boolean blur, boolean clamp, String textureName) static voidsetupTexture(int glTexture, int width, int height, String textureName) static intsetupTexture(int glTexture, BufferedImage image, boolean blur, boolean clamp, ResourceLocation textureName) static voidsetupTexture(ByteBuffer rgb, int width, int height)
-
Constructor Details
-
MipmapHelper
public MipmapHelper()
-
-
Method Details
-
setupTexture
public static void setupTexture(int[] rgb, int width, int height, int x, int y, boolean blur, boolean clamp, String textureName) -
setupTexture
public static int setupTexture(int glTexture, BufferedImage image, boolean blur, boolean clamp, ResourceLocation textureName) -
setupTexture
-
setupTexture
-
copySubTexture
public static void copySubTexture(int[] rgb, int width, int height, int x, int y, String textureName) -
copySubTexture
-