Class GlTexture

java.lang.Object
com.mojang.blaze3d.textures.GpuTexture
net.minecraft.client.texture.GlTexture
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class GlTexture extends GpuTexture
Mappings:
Namespace Name
named net/minecraft/client/texture/GlTexture
intermediary net/minecraft/class_10868
official fjl
  • Field Details

    • glId

      protected final int glId
      Mappings:
      Namespace Name Mixin selector
      named glId Lnet/minecraft/client/texture/GlTexture;glId:I
      intermediary field_57882 Lnet/minecraft/class_10868;field_57882:I
      official a Lfjl;a:I
    • depthTexToFramebufferIdCache

      private final Int2IntMap depthTexToFramebufferIdCache
      Mappings:
      Namespace Name Mixin selector
      named depthTexToFramebufferIdCache Lnet/minecraft/client/texture/GlTexture;depthTexToFramebufferIdCache:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
      intermediary field_57885 Lnet/minecraft/class_10868;field_57885:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
      official d Lfjl;d:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
    • closed

      protected boolean closed
      Mappings:
      Namespace Name Mixin selector
      named closed Lnet/minecraft/client/texture/GlTexture;closed:Z
      intermediary field_57883 Lnet/minecraft/class_10868;field_57883:Z
      official b Lfjl;b:Z
    • needsReinit

      protected boolean needsReinit
      Mappings:
      Namespace Name Mixin selector
      named needsReinit Lnet/minecraft/client/texture/GlTexture;needsReinit:Z
      intermediary field_57884 Lnet/minecraft/class_10868;field_57884:Z
      official c Lfjl;c:Z
  • Constructor Details

    • GlTexture

      protected GlTexture(String string, TextureFormat textureFormat, int int2, int int3, int int4, int int5)
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in class GpuTexture
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in class GpuTexture
    • method_68426

      public int method_68426(FramebufferManager framebufferManager, @Nullable @Nullable GpuTexture gpuTexture)
      Mappings:
      Namespace Name Mixin selector
      named method_68426 Lnet/minecraft/client/texture/GlTexture;method_68426(Lnet/minecraft/client/gl/FramebufferManager;Lcom/mojang/blaze3d/textures/GpuTexture;)I
      intermediary method_68426 Lnet/minecraft/class_10868;method_68426(Lnet/minecraft/class_10874;Lcom/mojang/blaze3d/textures/GpuTexture;)I
      official a Lfjl;a(Lfjb;Lcom/mojang/blaze3d/textures/GpuTexture;)I
    • checkDirty

      public void checkDirty()
      Mappings:
      Namespace Name Mixin selector
      named checkDirty Lnet/minecraft/client/texture/GlTexture;checkDirty()V
      intermediary method_68424 Lnet/minecraft/class_10868;method_68424()V
      official a Lfjl;a()V
    • getGlId

      public int getGlId()
      Mappings:
      Namespace Name Mixin selector
      named getGlId Lnet/minecraft/client/texture/GlTexture;getGlId()I
      intermediary method_68427 Lnet/minecraft/class_10868;method_68427()I
      official b Lfjl;b()I
    • setAddressMode

      public void setAddressMode(AddressMode addressMode, AddressMode addressMode2)
      Overrides:
      setAddressMode in class GpuTexture
    • setTextureFilter

      public void setTextureFilter(FilterMode filterMode, FilterMode filterMode2, boolean bool)
      Overrides:
      setTextureFilter in class GpuTexture