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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
     
    protected void
    init(int format, int mipmapLevel, int width, int height, int depth)
     
    void
    setFilter(boolean blur, boolean mipmap)
     
    protected void
    upload(com.mojang.blaze3d.platform.NativeImage... images)
     

    Methods inherited from class net.minecraft.client.renderer.texture.AbstractTexture

    close, load, releaseId, reset

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class net.minecraft.client.renderer.texture.AbstractTexture
    • getId

      public int getId()
      Overrides:
      getId in class net.minecraft.client.renderer.texture.AbstractTexture
    • bind

      public void bind()
      Overrides:
      bind in class net.minecraft.client.renderer.texture.AbstractTexture