Package net.minecraft.client.texture
Class GlTextureView
java.lang.Object
com.mojang.blaze3d.textures.GpuTextureView
net.minecraft.client.texture.GlTextureView
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/client/texture/GlTextureViewintermediary net/minecraft/class_11391official fxm
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate Int2IntMapprivate intprivate static final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGlTextureView(GlTexture texture, int baseMipLevel, int mipLevels) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private intcreateFramebuffer(BufferManager bufferManager, int depthGlId) intgetOrCreateFramebuffer(BufferManager bufferManager, @Nullable GpuTexture depthTexture) booleanisClosed()texture()Methods inherited from class com.mojang.blaze3d.textures.GpuTextureView
baseMipLevel, getHeight, getWidth, mipLevels
-
Field Details
-
UNINITIALIZED
private static final int UNINITIALIZED- See Also:
- Mappings:
Namespace Name Mixin selector named UNINITIALIZEDLnet/minecraft/client/texture/GlTextureView;UNINITIALIZED:Iintermediary field_64518Lnet/minecraft/class_11391;field_64518:Iofficial aLfxm;a:I
-
closed
private boolean closed- Mappings:
Namespace Name Mixin selector named closedLnet/minecraft/client/texture/GlTextureView;closed:Zintermediary field_60566Lnet/minecraft/class_11391;field_60566:Zofficial bLfxm;b:Z
-
framebufferId
private int framebufferId- Mappings:
Namespace Name Mixin selector named framebufferIdLnet/minecraft/client/texture/GlTextureView;framebufferId:Iintermediary field_64519Lnet/minecraft/class_11391;field_64519:Iofficial cLfxm;c:I
-
depthGlId
private int depthGlId- Mappings:
Namespace Name Mixin selector named depthGlIdLnet/minecraft/client/texture/GlTextureView;depthGlId:Iintermediary field_64520Lnet/minecraft/class_11391;field_64520:Iofficial dLfxm;d:I
-
depthTexToFramebufferIdCache
- Mappings:
Namespace Name Mixin selector named depthTexToFramebufferIdCacheLnet/minecraft/client/texture/GlTextureView;depthTexToFramebufferIdCache:Lit/unimi/dsi/fastutil/ints/Int2IntMap;intermediary field_64187Lnet/minecraft/class_11391;field_64187:Lit/unimi/dsi/fastutil/ints/Int2IntMap;official eLfxm;e:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
-
-
Constructor Details
-
GlTextureView
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/texture/GlTextureView;<init>(Lnet/minecraft/client/texture/GlTexture;II)Vintermediary <init>Lnet/minecraft/class_11391;<init>(Lnet/minecraft/class_10868;II)Vofficial <init>Lfxm;<init>(Lfxl;II)V
-
-
Method Details
-
isClosed
public boolean isClosed()- Specified by:
isClosedin classGpuTextureView
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGpuTextureView
-
getOrCreateFramebuffer
- Mappings:
Namespace Name Mixin selector named getOrCreateFramebufferLnet/minecraft/client/texture/GlTextureView;getOrCreateFramebuffer(Lnet/minecraft/client/gl/BufferManager;Lcom/mojang/blaze3d/textures/GpuTexture;)Iintermediary method_76232Lnet/minecraft/class_11391;method_76232(Lnet/minecraft/class_10874;Lcom/mojang/blaze3d/textures/GpuTexture;)Iofficial aLfxm;a(Lfwz;Lcom/mojang/blaze3d/textures/GpuTexture;)I
-
createFramebuffer
- Mappings:
Namespace Name Mixin selector named createFramebufferLnet/minecraft/client/texture/GlTextureView;createFramebuffer(Lnet/minecraft/client/gl/BufferManager;I)Iintermediary method_76597Lnet/minecraft/class_11391;method_76597(Lnet/minecraft/class_10874;I)Iofficial aLfxm;a(Lfwz;I)I
-
texture
- Overrides:
texturein classGpuTextureView- Mappings:
Namespace Name Mixin selector named textureLnet/minecraft/client/texture/GlTextureView;texture()Lnet/minecraft/client/texture/GlTexture;intermediary method_71638Lnet/minecraft/class_11391;method_71638()Lnet/minecraft/class_10868;official aLfxm;a()Lfxl;
-