com.mojang.blaze3d.opengl

public class GlTexture

extends GpuTexture

fxl
com.mojang.blaze3d.opengl.GlTexture
net.minecraft.class_10868
net.minecraft.client.texture.GlTexture
com.mojang.blaze3d.opengl.GlTexture

字段概要

修饰符与类型字段
private static final int
c
EMPTY
field_64515
UNINITIALIZED
EMPTY
protected final int
a
id
field_57882
glId
id
private int
d
firstFboId
field_64516
framebufferId
firstFboId
private int
e
firstFboDepthId
field_64517
depthGlId
firstFboDepthId
private it.unimi.dsi.fastutil.ints.Int2IntMap
f
fboCache
field_57885
depthTexToFramebufferIdCache
fboCache
protected boolean
b
closed
field_57883
closed
closed
private int
g
views
field_60565
refCount
views

构造函数概要

修饰符构造函数
protected (int usage, String label, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels, int glId)

方法概要

修饰符与类型方法
public void
close()
close()
close()
private void
d()
destroyImmediately()
method_71637()
free()
destroyImmediately()
public boolean
isClosed()
isClosed()
isClosed()
public int
a(fwz arg0, GpuTexture arg1)
getFbo(DirectStateAccess arg0, GpuTexture arg1)
method_68426(class_10874 arg0, GpuTexture arg1)
getOrCreateFramebuffer(BufferManager bufferManager, GpuTexture depthTexture)
getFbo(C_379126_ p_394451_, GpuTexture arg1)
private int
a(fwz arg0, int arg1)
createFbo(DirectStateAccess arg0, int arg1)
method_76596(class_10874 arg0, int arg1)
createFramebuffer(BufferManager bufferManager, int depthGlId)
createFbo(C_379126_ p_457100_, int arg1)
public int
a()
glId()
method_68427()
getGlId()
glId()
public void
b()
addViews()
method_71635()
incrementRefCount()
addViews()
public void
c()
removeViews()
method_71636()
decrementRefCount()
removeViews()