Class ArrayTexture
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
foundry.veil.api.client.render.texture.ArrayTexture
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
SimpleArrayTexture
public abstract class ArrayTexture
extends net.minecraft.client.renderer.texture.AbstractTexture
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.texture.AbstractTexture
blur, id, mipmap, NOT_ASSIGNED
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.client.renderer.texture.AbstractTexture
close, load, releaseId, reset
-
Constructor Details
-
ArrayTexture
public ArrayTexture()
-
-
Method Details
-
init
protected void init(int format, int mipmapLevel, int width, int height, int depth) -
upload
protected void upload(com.mojang.blaze3d.platform.NativeImage... images) -
setFilter
public void setFilter(boolean blur, boolean mipmap) - Overrides:
setFilter
in classnet.minecraft.client.renderer.texture.AbstractTexture
-
getId
public int getId()- Overrides:
getId
in classnet.minecraft.client.renderer.texture.AbstractTexture
-
bind
public void bind()- Overrides:
bind
in classnet.minecraft.client.renderer.texture.AbstractTexture
-