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
static final int
-
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 -
MAX_BUILDERS_32_BIT
public static final int MAX_BUILDERS_32_BIT- See Also:
-
freeBuffers
-
freeBufferCount
private volatile int freeBufferCount
-
-
Constructor Details
-
SectionBufferBuilderPool
-
-
Method Details
-
allocate
-
acquire
-
release
-
isEmpty
public boolean isEmpty() -
getFreeBufferCount
public int getFreeBufferCount()
-