Class TextureUtil
- java.lang.Object
-
- net.minecraft.client.renderer.texture.TextureUtil
-
public class TextureUtil extends java.lang.Object
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
Fields Modifier and Type Field Description static DynamicTexture
missingTexture
static int[]
missingTextureData
-
Constructor Summary
Constructors Constructor Description TextureUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
allocateTexture(int parInt1, int parInt2, int parInt3)
static void
allocateTextureImpl(int parInt1, int parInt2, int parInt3, int parInt4)
static int
anaglyphColor(int parInt1)
static int[]
convertComponentOrder(int[] arr)
static void
deleteTexture(int textureId)
static int[][]
generateMipmapData(int parInt1, int parInt2, int[][] parArrayOfarray)
static int
glGenTextures()
static void
processPixelValues(int[] parArrayOfInt, int parInt1, int parInt2)
static ImageData
readBufferedImage(java.io.InputStream imageStream)
static int[]
readImageData(IResourceManager resourceManager, ResourceLocation imageLocation)
static int[]
updateAnaglyph(int[] parArrayOfInt)
static void
uploadTexture(int textureId, int[] parArrayOfInt, int parInt2, int parInt3)
static int
uploadTextureImage(int parInt1, ImageData parBufferedImage)
static int
uploadTextureImageAllocate(int parInt1, ImageData parBufferedImage, boolean parFlag, boolean parFlag2)
static int
uploadTextureImageSub(int textureId, ImageData parBufferedImage, int parInt2, int parInt3, boolean parFlag, boolean parFlag2)
static void
uploadTextureMipmap(int[][] parArrayOfarray, int parInt1, int parInt2, int parInt3, int parInt4, boolean parFlag, boolean parFlag2)
-
-
-
Field Detail
-
missingTexture
public static final DynamicTexture missingTexture
-
missingTextureData
public static final int[] missingTextureData
-
-
Method Detail
-
glGenTextures
public static int glGenTextures()
-
deleteTexture
public static void deleteTexture(int textureId)
-
uploadTextureImage
public static int uploadTextureImage(int parInt1, ImageData parBufferedImage)
-
uploadTexture
public static void uploadTexture(int textureId, int[] parArrayOfInt, int parInt2, int parInt3)
-
generateMipmapData
public static int[][] generateMipmapData(int parInt1, int parInt2, int[][] parArrayOfarray)
-
uploadTextureMipmap
public static void uploadTextureMipmap(int[][] parArrayOfarray, int parInt1, int parInt2, int parInt3, int parInt4, boolean parFlag, boolean parFlag2)
-
uploadTextureImageAllocate
public static int uploadTextureImageAllocate(int parInt1, ImageData parBufferedImage, boolean parFlag, boolean parFlag2)
-
allocateTexture
public static void allocateTexture(int parInt1, int parInt2, int parInt3)
-
allocateTextureImpl
public static void allocateTextureImpl(int parInt1, int parInt2, int parInt3, int parInt4)
-
uploadTextureImageSub
public static int uploadTextureImageSub(int textureId, ImageData parBufferedImage, int parInt2, int parInt3, boolean parFlag, boolean parFlag2)
-
readImageData
public static int[] readImageData(IResourceManager resourceManager, ResourceLocation imageLocation) throws java.io.IOException
- Throws:
java.io.IOException
-
readBufferedImage
public static ImageData readBufferedImage(java.io.InputStream imageStream) throws java.io.IOException
- Throws:
java.io.IOException
-
updateAnaglyph
public static int[] updateAnaglyph(int[] parArrayOfInt)
-
anaglyphColor
public static int anaglyphColor(int parInt1)
-
processPixelValues
public static void processPixelValues(int[] parArrayOfInt, int parInt1, int parInt2)
-
convertComponentOrder
public static int[] convertComponentOrder(int[] arr)
-
-