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

Field summary

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

Constructor summary

ModifierConstructor
public (int lifespan)

Method summary

Modifier and TypeMethod
public void
a()
endFrame()
method_61947()
decrementLifespan()
public <T> T
a(ffg<T> arg0)
acquire(ResourceDescriptor<T> arg0)
method_61948(class_9924<T> arg0)
acquire(ClosableFactory<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)
public void
b()
clear()
method_61950()
clear()
public void
close()
close()
protected Collection<CrossFrameResourcePool$ResourceEntry<?>>
c()
entries()
method_61951()
getEntries()