com.mojang.blaze3d.resource

public class CrossFrameResourcePool

implements GraphicsResourceAllocator, AutoCloseable

ffd
com.mojang.blaze3d.resource.CrossFrameResourcePool
net.minecraft.class_9920
net.minecraft.client.util.Pool
net.minecraft.src.C_346046_

Field summary

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

Constructor summary

ModifierConstructor
public (int lifespan)

Method summary

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