Package net.minecraft.client.renderer
Class SectionBufferBuilderPool
java.lang.Object
net.minecraft.client.renderer.SectionBufferBuilderPool
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final Queue
<SectionBufferBuilderPack> private static final org.slf4j.Logger
-
Constructor Summary
ModifierConstructorDescriptionprivate
SectionBufferBuilderPool
(List<SectionBufferBuilderPack> p_312374_) -
Method Summary
Modifier and TypeMethodDescriptionacquire()
static SectionBufferBuilderPool
allocate
(int p_310783_) int
boolean
isEmpty()
void
release
(SectionBufferBuilderPack p_310220_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
freeBuffers
-
freeBufferCount
private volatile int freeBufferCount
-
-
Constructor Details
-
SectionBufferBuilderPool
-
-
Method Details
-
allocate
-
acquire
-
release
-
isEmpty
public boolean isEmpty() -
getFreeBufferCount
public int getFreeBufferCount()
-