Class SectionRenderDispatcher
java.lang.Object
net.minecraft.client.renderer.chunk.SectionRenderDispatcher
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
class
static final class
(package private) static enum
static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SectionBufferBuilderPool
private Vec3
(package private) boolean
private final CompileTaskDynamicQueue
private final ConsecutiveExecutor
private final TracingExecutor
(package private) final SectionBufferBuilderPack
(package private) ClientLevel
(package private) final LevelRenderer
(package private) final SectionCompiler
private int
-
Constructor Summary
ConstructorsConstructorDescriptionSectionRenderDispatcher
(ClientLevel p_295274_, LevelRenderer p_295323_, TracingExecutor p_373128_, RenderBuffers p_307511_, BlockRenderDispatcher p_350514_, BlockEntityRenderDispatcher p_350550_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
private void
void
dispose()
int
getStats()
int
int
boolean
void
rebuildSectionSync
(SectionRenderDispatcher.RenderSection p_296309_, RenderRegionCache p_294139_) private void
runTask()
void
void
void
setLevel
(ClientLevel p_295112_) void
-
Field Details
-
compileQueue
-
toUpload
-
fixedBuffers
-
bufferPool
-
toBatchCount
private volatile int toBatchCount -
closed
volatile boolean closed -
consecutiveExecutor
-
executor
-
level
ClientLevel level -
renderer
-
camera
-
sectionCompiler
-
-
Constructor Details
-
SectionRenderDispatcher
public SectionRenderDispatcher(ClientLevel p_295274_, LevelRenderer p_295323_, TracingExecutor p_373128_, RenderBuffers p_307511_, BlockRenderDispatcher p_350514_, BlockEntityRenderDispatcher p_350550_)
-
-
Method Details
-
setLevel
-
runTask
private void runTask() -
getStats
-
getToBatchCount
public int getToBatchCount() -
getToUpload
public int getToUpload() -
getFreeBufferCount
public int getFreeBufferCount() -
setCamera
-
getCameraPosition
-
uploadAllPendingUploads
public void uploadAllPendingUploads() -
rebuildSectionSync
public void rebuildSectionSync(SectionRenderDispatcher.RenderSection p_296309_, RenderRegionCache p_294139_) -
blockUntilClear
public void blockUntilClear() -
schedule
-
clearBatchQueue
private void clearBatchQueue() -
isQueueEmpty
public boolean isQueueEmpty() -
dispose
public void dispose()
-