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 label, TextureFormat format, int width, int height, int mipLevels, int glId) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()intgetGlId()intgetOrCreateFramebuffer(FramebufferManager manager, @Nullable GpuTexture depthTexture) booleanisClosed()voidsetAddressMode(AddressMode addressModeU, AddressMode addressModeV) voidsetTextureFilter(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 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 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)Vintermediary <init>Lnet/minecraft/class_10868;<init>(Ljava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;IIII)Vofficial <init>Lfjl;<init>(Ljava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;IIII)V
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGpuTexture
-
isClosed
public boolean isClosed()- Specified by:
isClosedin classGpuTexture
-
getOrCreateFramebuffer
public int getOrCreateFramebuffer(FramebufferManager manager, @Nullable @Nullable GpuTexture depthTexture) - Mappings:
Namespace Name Mixin selector named getOrCreateFramebufferLnet/minecraft/client/texture/GlTexture;getOrCreateFramebuffer(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- Mappings:
Namespace Name Mixin selector named setAddressModeLcom/mojang/blaze3d/textures/GpuTexture;setAddressMode(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;)Vintermediary setAddressModeLcom/mojang/blaze3d/textures/GpuTexture;setAddressMode(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;)Vofficial setAddressModeLcom/mojang/blaze3d/textures/GpuTexture;setAddressMode(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;)V
-
setTextureFilter
- Overrides:
setTextureFilterin classGpuTexture- Mappings:
Namespace Name Mixin selector named setTextureFilterLcom/mojang/blaze3d/textures/GpuTexture;setTextureFilter(Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;Z)Vintermediary setTextureFilterLcom/mojang/blaze3d/textures/GpuTexture;setTextureFilter(Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;Z)Vofficial setTextureFilterLcom/mojang/blaze3d/textures/GpuTexture;setTextureFilter(Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;Z)V
-