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_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 -
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()
-