com.mojang.blaze3d.resource

public class CrossFrameResourcePool

implements GraphicsResourceAllocator, AutoCloseable

ffz
com.mojang.blaze3d.resource.CrossFrameResourcePool
net.minecraft.class_9920
net.minecraft.unmapped.C_ainlnqzg
net.minecraft.client.util.Pool
com.mojang.blaze3d.resource.CrossFrameResourcePool
net.minecraft.src.C_346046_

Field summary

Modifier and TypeField
private final int
b
framesToKeepResource
field_52736
f_vxdaqcne
lifespan
maxFramesToKeep
f_348806_
private final Deque<CrossFrameResourcePool$ResourceEntry<?>>
c
pool
field_52737
f_miltfmgk
entries
entriesToRemove
f_348827_

Constructor summary

ModifierConstructor
public (int lifespan)

Method summary

Modifier and TypeMethod
public void
a()
endFrame()
method_61947()
m_mkmkgxvg()
decrementLifespan()
m_353395_()
public <T> T
a(fgc<T> arg0)
acquire(ResourceDescriptor<T> arg0)
method_61948(class_9924<T> arg0)
m_zhnrobzg(C_tfuflbwf<T> arg0)
acquire(ClosableFactory<T> arg0)
allocate(ResourceDescriptor<T> arg0)
m_353367_(C_345662_<T> arg0)
public <T> void
a(fgc<T> arg0, T arg1)
release(ResourceDescriptor<T> arg0, T arg1)
method_61949(class_9924<T> arg0, T arg1)
m_lzvhixaa(C_tfuflbwf<T> arg0, T arg1)
release(ClosableFactory<T> arg0, T arg1)
release(ResourceDescriptor<T> arg0, T arg1)
m_352189_(C_345662_<T> p_369520_, T arg1)
public void
b()
clear()
method_61950()
m_pxksyykr()
clear()
clear()
m_356280_()
public void
close()
close()
close()
protected Collection<CrossFrameResourcePool$ResourceEntry<?>>
c()
entries()
method_61951()
m_ljgpcjns()
getEntries()
entries()
m_354289_()