net.minecraft.client.texture

public class GlTexture

extends GpuTexture

com.mojang.blaze3d.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 int
firstFboId
field_64516
framebufferId
private int
firstFboDepthId
field_64517
depthGlId
private it.unimi.dsi.fastutil.ints.Int2IntMap
fboCache
field_57885
depthTexToFramebufferIdCache
protected boolean
closed
field_57883
closed
private int
views
field_60565
refCount

Constructor summary

ModifierConstructor
protected (int usage, String label, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels, int glId)

Method summary

Modifier and TypeMethod
public void
close()
private void
destroyImmediately()
method_71637()
free()
public boolean
isClosed()
public int
getFbo(DirectStateAccess dsa, GpuTexture depth)
method_68426(class_10874 arg0, GpuTexture arg1)
getOrCreateFramebuffer(BufferManager bufferManager, GpuTexture depthTexture)
private int
createFbo(DirectStateAccess dsa, int depthid)
method_76596(class_10874 arg0, int arg1)
createFramebuffer(BufferManager bufferManager, int depthGlId)
public int
glId()
method_68427()
getGlId()
public void
addViews()
method_71635()
incrementRefCount()
public void
removeViews()
method_71636()
decrementRefCount()
private int
lambda$getFbo$0(DirectStateAccess arg0, int arg1)
method_68425(class_10874 arg0, int arg1)
method_68425(BufferManager arg0, int depthGlId)