com.mojang.blaze3d.resource

public class CrossFrameResourcePool

implements GraphicsResourceAllocator, AutoCloseable

fgw
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(fgz<T> arg0)
acquire(ResourceDescriptor<T> arg0)
method_61948(class_9924<T> arg0)
acquire(ClosableFactory<T> arg0)
private <T> T
b(fgz<T> arg0)
acquireWithoutPreparing(ResourceDescriptor<T> arg0)
method_66517(class_9924<T> arg0)
acquireUnprepared(ClosableFactory<T> factory)
public <T> void
a(fgz<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()