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 fuz
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mojang.blaze3d.textures.GpuTexture
GpuTexture.class_12115 -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprivate final Int2IntMapprotected final intprivate intFields inherited from class com.mojang.blaze3d.textures.GpuTexture
USAGE_COPY_DST, USAGE_COPY_SRC, USAGE_CUBEMAP_COMPATIBLE, USAGE_RENDER_ATTACHMENT, USAGE_TEXTURE_BINDING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGlTexture(int usage, String label, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels, int glId) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidprivate voidfree()intgetGlId()intgetOrCreateFramebuffer(BufferManager manager, @Nullable GpuTexture depthTexture) voidbooleanisClosed()Methods inherited from class com.mojang.blaze3d.textures.GpuTexture
getDepthOrLayers, getFormat, getHeight, getLabel, getMipLevels, getWidth, usage
-
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 aLfuz;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 cLfuz;c: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 bLfuz;b:Z
-
refCount
private int refCount- Mappings:
Namespace Name Mixin selector named refCountLnet/minecraft/client/texture/GlTexture;refCount:Iintermediary field_60565Lnet/minecraft/class_10868;field_60565:Iofficial dLfuz;d:I
-
-
Constructor Details
-
GlTexture
protected GlTexture(int usage, String label, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels, int glId) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/texture/GlTexture;<init>(ILjava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;IIIII)Vintermediary <init>Lnet/minecraft/class_10868;<init>(ILjava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;IIIII)Vofficial <init>Lfuz;<init>(ILjava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;IIIII)V
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGpuTexture
-
free
private void free()- Mappings:
Namespace Name Mixin selector named freeLnet/minecraft/client/texture/GlTexture;free()Vintermediary method_71637Lnet/minecraft/class_10868;method_71637()Vofficial dLfuz;d()V
-
isClosed
public boolean isClosed()- Specified by:
isClosedin classGpuTexture
-
getOrCreateFramebuffer
public int getOrCreateFramebuffer(BufferManager manager, @Nullable @Nullable GpuTexture depthTexture) - Mappings:
Namespace Name Mixin selector named getOrCreateFramebufferLnet/minecraft/client/texture/GlTexture;getOrCreateFramebuffer(Lnet/minecraft/client/gl/BufferManager;Lcom/mojang/blaze3d/textures/GpuTexture;)Iintermediary method_68426Lnet/minecraft/class_10868;method_68426(Lnet/minecraft/class_10874;Lcom/mojang/blaze3d/textures/GpuTexture;)Iofficial aLfuz;a(Lfun;Lcom/mojang/blaze3d/textures/GpuTexture;)I
-
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 aLfuz;a()I
-
incrementRefCount
public void incrementRefCount()- Mappings:
Namespace Name Mixin selector named incrementRefCountLnet/minecraft/client/texture/GlTexture;incrementRefCount()Vintermediary method_71635Lnet/minecraft/class_10868;method_71635()Vofficial bLfuz;b()V
-
decrementRefCount
public void decrementRefCount()- Mappings:
Namespace Name Mixin selector named decrementRefCountLnet/minecraft/client/texture/GlTexture;decrementRefCount()Vintermediary method_71636Lnet/minecraft/class_10868;method_71636()Vofficial cLfuz;c()V
-