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_307506_) -
Method Summary
Modifier and TypeMethodDescriptionacquire()
static SectionBufferBuilderPool
allocate
(int p_307250_) int
boolean
isEmpty()
void
release
(SectionBufferBuilderPack p_307626_)
-
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()
-