Package net.minecraft.client.texture
Class GlTexture
java.lang.Object
com.mojang.blaze3d.textures.GpuTexture
net.minecraft.client.texture.GlTexture
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/client/texture/GlTexture
intermediary net/minecraft/class_10868
official fjl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
private final Int2IntMap
protected final int
protected boolean
Fields inherited from class com.mojang.blaze3d.textures.GpuTexture
addressModeU, addressModeV, magFilter, minFilter, useMipmaps
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GlTexture
(String label, TextureFormat format, int width, int height, int mipLevels, int glId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
int
getGlId()
int
getOrCreateFramebuffer
(FramebufferManager manager, @Nullable GpuTexture depthTexture) boolean
isClosed()
void
setAddressMode
(AddressMode addressModeU, AddressMode addressModeV) void
setTextureFilter
(FilterMode minFilter, FilterMode magFilter, boolean useMipmaps) Methods inherited from class com.mojang.blaze3d.textures.GpuTexture
getFormat, getHeight, getLabel, getMipLevels, getWidth, setAddressMode, setTextureFilter
-
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
- 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 label, TextureFormat format, int width, int height, int mipLevels, int glId) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/texture/GlTexture;<init>(Ljava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;IIII)V
intermediary <init>
Lnet/minecraft/class_10868;<init>(Ljava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;IIII)V
official <init>
Lfjl;<init>(Ljava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;IIII)V
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classGpuTexture
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in classGpuTexture
-
getOrCreateFramebuffer
public int getOrCreateFramebuffer(FramebufferManager manager, @Nullable @Nullable GpuTexture depthTexture) - Mappings:
Namespace Name Mixin selector named getOrCreateFramebuffer
Lnet/minecraft/client/texture/GlTexture;getOrCreateFramebuffer(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
- Overrides:
setAddressMode
in classGpuTexture
- Mappings:
Namespace Name Mixin selector named setAddressMode
Lcom/mojang/blaze3d/textures/GpuTexture;setAddressMode(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;)V
intermediary setAddressMode
Lcom/mojang/blaze3d/textures/GpuTexture;setAddressMode(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;)V
official setAddressMode
Lcom/mojang/blaze3d/textures/GpuTexture;setAddressMode(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;)V
-
setTextureFilter
- Overrides:
setTextureFilter
in classGpuTexture
- Mappings:
Namespace Name Mixin selector named setTextureFilter
Lcom/mojang/blaze3d/textures/GpuTexture;setTextureFilter(Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;Z)V
intermediary setTextureFilter
Lcom/mojang/blaze3d/textures/GpuTexture;setTextureFilter(Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;Z)V
official setTextureFilter
Lcom/mojang/blaze3d/textures/GpuTexture;setTextureFilter(Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;Z)V
-