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/GlTextureintermediary net/minecraft/class_10868official fjl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprivate final Int2IntMapprotected final intprotected booleanFields inherited from class com.mojang.blaze3d.textures.GpuTexture
addressModeU, addressModeV, magFilter, minFilter, useMipmaps -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGlTexture(String string, TextureFormat textureFormat, int int2, int int3, int int4, int int5) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()intgetGlId()booleanisClosed()intmethod_68426(FramebufferManager framebufferManager, @Nullable GpuTexture gpuTexture) voidsetAddressMode(AddressMode addressMode, AddressMode addressMode2) voidsetTextureFilter(FilterMode filterMode, FilterMode filterMode2, boolean bool) 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 glIdLnet/minecraft/client/texture/GlTexture;glId:Iintermediary field_57882Lnet/minecraft/class_10868;field_57882:Iofficial aLfjl;a:I
-
depthTexToFramebufferIdCache
- Mappings:
Namespace Name Mixin selector named depthTexToFramebufferIdCacheLnet/minecraft/client/texture/GlTexture;depthTexToFramebufferIdCache:Lit/unimi/dsi/fastutil/ints/Int2IntMap;intermediary field_57885Lnet/minecraft/class_10868;field_57885:Lit/unimi/dsi/fastutil/ints/Int2IntMap;official dLfjl;d:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
-
closed
protected boolean closed- Mappings:
Namespace Name Mixin selector named closedLnet/minecraft/client/texture/GlTexture;closed:Zintermediary field_57883Lnet/minecraft/class_10868;field_57883:Zofficial bLfjl;b:Z
-
needsReinit
protected boolean needsReinit- Mappings:
Namespace Name Mixin selector named needsReinitLnet/minecraft/client/texture/GlTexture;needsReinit:Zintermediary field_57884Lnet/minecraft/class_10868;field_57884:Zofficial cLfjl;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:
closein interfaceAutoCloseable- Specified by:
closein classGpuTexture
-
isClosed
public boolean isClosed()- Specified by:
isClosedin classGpuTexture
-
method_68426
public int method_68426(FramebufferManager framebufferManager, @Nullable @Nullable GpuTexture gpuTexture) - Mappings:
Namespace Name Mixin selector named method_68426Lnet/minecraft/client/texture/GlTexture;method_68426(Lnet/minecraft/client/gl/FramebufferManager;Lcom/mojang/blaze3d/textures/GpuTexture;)Iintermediary method_68426Lnet/minecraft/class_10868;method_68426(Lnet/minecraft/class_10874;Lcom/mojang/blaze3d/textures/GpuTexture;)Iofficial aLfjl;a(Lfjb;Lcom/mojang/blaze3d/textures/GpuTexture;)I
-
checkDirty
public void checkDirty()- Mappings:
Namespace Name Mixin selector named checkDirtyLnet/minecraft/client/texture/GlTexture;checkDirty()Vintermediary method_68424Lnet/minecraft/class_10868;method_68424()Vofficial aLfjl;a()V
-
getGlId
public int getGlId()- Mappings:
Namespace Name Mixin selector named getGlIdLnet/minecraft/client/texture/GlTexture;getGlId()Iintermediary method_68427Lnet/minecraft/class_10868;method_68427()Iofficial bLfjl;b()I
-
setAddressMode
- Overrides:
setAddressModein classGpuTexture
-
setTextureFilter
- Overrides:
setTextureFilterin classGpuTexture
-