Class GlTextureView

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

@Environment(CLIENT) public class GlTextureView extends GpuTextureView
Mappings:
Namespace Name
named net/minecraft/client/texture/GlTextureView
intermediary net/minecraft/class_11391
official fxm
  • Field Details

    • UNINITIALIZED

      private static final int UNINITIALIZED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named UNINITIALIZED Lnet/minecraft/client/texture/GlTextureView;UNINITIALIZED:I
      intermediary field_64518 Lnet/minecraft/class_11391;field_64518:I
      official a Lfxm;a:I
    • closed

      private boolean closed
      Mappings:
      Namespace Name Mixin selector
      named closed Lnet/minecraft/client/texture/GlTextureView;closed:Z
      intermediary field_60566 Lnet/minecraft/class_11391;field_60566:Z
      official b Lfxm;b:Z
    • framebufferId

      private int framebufferId
      Mappings:
      Namespace Name Mixin selector
      named framebufferId Lnet/minecraft/client/texture/GlTextureView;framebufferId:I
      intermediary field_64519 Lnet/minecraft/class_11391;field_64519:I
      official c Lfxm;c:I
    • depthGlId

      private int depthGlId
      Mappings:
      Namespace Name Mixin selector
      named depthGlId Lnet/minecraft/client/texture/GlTextureView;depthGlId:I
      intermediary field_64520 Lnet/minecraft/class_11391;field_64520:I
      official d Lfxm;d:I
    • depthTexToFramebufferIdCache

      private it.unimi.dsi.fastutil.ints.Int2IntMap depthTexToFramebufferIdCache
      Mappings:
      Namespace Name Mixin selector
      named depthTexToFramebufferIdCache Lnet/minecraft/client/texture/GlTextureView;depthTexToFramebufferIdCache:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
      intermediary field_64187 Lnet/minecraft/class_11391;field_64187:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
      official e Lfxm;e:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
  • Constructor Details

    • GlTextureView

      protected GlTextureView(GlTexture texture, int baseMipLevel, int mipLevels)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/texture/GlTextureView;<init>(Lnet/minecraft/client/texture/GlTexture;II)V
      intermediary <init> Lnet/minecraft/class_11391;<init>(Lnet/minecraft/class_10868;II)V
      official <init> Lfxm;<init>(Lfxl;II)V
  • Method Details

    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in class GpuTextureView
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in class GpuTextureView
    • getOrCreateFramebuffer

      public int getOrCreateFramebuffer(BufferManager bufferManager, @Nullable GpuTexture depthTexture)
      Mappings:
      Namespace Name Mixin selector
      named getOrCreateFramebuffer Lnet/minecraft/client/texture/GlTextureView;getOrCreateFramebuffer(Lnet/minecraft/client/gl/BufferManager;Lcom/mojang/blaze3d/textures/GpuTexture;)I
      intermediary method_76232 Lnet/minecraft/class_11391;method_76232(Lnet/minecraft/class_10874;Lcom/mojang/blaze3d/textures/GpuTexture;)I
      official a Lfxm;a(Lfwz;Lcom/mojang/blaze3d/textures/GpuTexture;)I
    • createFramebuffer

      private int createFramebuffer(BufferManager bufferManager, int depthGlId)
      Mappings:
      Namespace Name Mixin selector
      named createFramebuffer Lnet/minecraft/client/texture/GlTextureView;createFramebuffer(Lnet/minecraft/client/gl/BufferManager;I)I
      intermediary method_76597 Lnet/minecraft/class_11391;method_76597(Lnet/minecraft/class_10874;I)I
      official a Lfxm;a(Lfwz;I)I
    • texture

      public GlTexture texture()
      Overrides:
      texture in class GpuTextureView
      Mappings:
      Namespace Name Mixin selector
      named texture Lnet/minecraft/client/texture/GlTextureView;texture()Lnet/minecraft/client/texture/GlTexture;
      intermediary method_71638 Lnet/minecraft/class_11391;method_71638()Lnet/minecraft/class_10868;
      official a Lfxm;a()Lfxl;