net.minecraft.client.texture

public class GlTexture

extends GpuTexture implements GlTextureLike

All mapped superinterfaces:

GlTextureLike

com.mojang.renderpearl.backend.opengl.GlTexture
net.minecraft.class_10868
net.minecraft.client.texture.GlTexture

Field summary

Modifier and TypeField
private static final int
EMPTY
field_64515
UNINITIALIZED
protected final int
id
field_57882
glId
private final GlFramebufferManager
frameBufferCache
field_1_6268
framebufferManager
private final List<GlFramebufferManager$AttachmentsKey>
fboKeys
field_1_6267
keys
protected boolean
closed
field_57883
closed
private int
views
field_60565
refCount

Constructor summary

ModifierConstructor
protected (int usage, String label, TexelFormat format, int width, int height, int depthOrLayers, int mipLevels, int glId, GlFramebufferManager framebufferManager)

Method summary

Modifier and TypeMethod
public void
close()
private void
destroyImmediately()
method_71637()
free()
public boolean
isClosed()
method_1_7823()
isClosed()
public int
glId()
method_68427()
getGlId()
public int
fboMipLevel()
method_1_5422()
getBaseMipLevel()
public void
addAssociatedFbo(FrameBufferCache$CacheKey fboKey)
method_1_5421(class_1_894$class_1_895 arg0)
addKey(GlFramebufferManager$AttachmentsKey arg0)
public void
removeAssociatedFbo(FrameBufferCache$CacheKey fboKey)
method_1_5423(class_1_894$class_1_895 arg0)
removeKey(GlFramebufferManager$AttachmentsKey arg0)
public void
addViews()
method_71635()
incrementRefCount()
public void
removeViews()
method_71636()
decrementRefCount()