Class ByteTexture
java.lang.Object
net.minecraft.client.texture.AbstractTexture
meteordevelopment.meteorclient.utils.render.ByteTexture
- All Implemented Interfaces:
AutoCloseable
public class ByteTexture
extends net.minecraft.client.texture.AbstractTexture
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class net.minecraft.client.texture.AbstractTexture
bilinear, DEFAULT_ID, glId, mipmap -
Constructor Summary
ConstructorsConstructorDescriptionByteTexture(int width, int height, byte[] data, ByteTexture.Format format, ByteTexture.Filter filterMin, ByteTexture.Filter filterMag) ByteTexture(int width, int height, ByteBuffer buffer, ByteTexture.Format format, ByteTexture.Filter filterMin, ByteTexture.Filter filterMag) -
Method Summary
Methods inherited from class net.minecraft.client.texture.AbstractTexture
bindTexture, clearGlId, close, getGlId, registerTexture, setFilter
-
Constructor Details
-
ByteTexture
public ByteTexture(int width, int height, byte[] data, ByteTexture.Format format, ByteTexture.Filter filterMin, ByteTexture.Filter filterMag) -
ByteTexture
public ByteTexture(int width, int height, ByteBuffer buffer, ByteTexture.Format format, ByteTexture.Filter filterMin, ByteTexture.Filter filterMag)
-
-
Method Details
-
load
- Specified by:
loadin classnet.minecraft.client.texture.AbstractTexture- Throws:
IOException
-