net.minecraft.client.renderer.chunk

public class SectionRenderDispatcher

goy
net.minecraft.client.renderer.chunk.SectionRenderDispatcher
net.minecraft.class_846
net.minecraft.client.render.chunk.ChunkBuilder

Field summary

Modifier and TypeField
private final CompileTaskDynamicQueue
a
compileQueue
field_53957
scheduler
private final Queue<Runnable>
b
toUpload
field_4443
uploadQueue
final SectionBufferBuilderPack
c
fixedBuffers
field_20828
buffers
private final SectionBufferBuilderPool
d
bufferPool
field_46907
buffersPool
private volatile int
e
toBatchCount
field_20992
queuedTaskCount
private volatile boolean
f
closed
field_46908
stopped
private final ConsecutiveExecutor
g
consecutiveExecutor
field_54167
consecutiveExecutor
private final TracingExecutor
h
executor
field_20830
executor
ClientLevel
i
level
field_20831
world
final LevelRenderer
j
renderer
field_20832
worldRenderer
private Vec3
k
camera
field_18766
cameraPosition
final SectionCompiler
l
sectionCompiler
field_52171
sectionBuilder

Constructor summary

ModifierConstructor
public (ClientLevel world, LevelRenderer worldRenderer, TracingExecutor executor, RenderBuffers bufferBuilderStorage, BlockRenderDispatcher blockRenderManager, BlockEntityRenderDispatcher blockEntityRenderDispatcher)

Method summary

Modifier and TypeMethod
public void
a(gfk arg0)
setLevel(ClientLevel arg0)
method_22752(class_638 arg0)
setWorld(ClientWorld world)
private void
j()
runTask()
method_22763()
scheduleRunTasks()
public String
a()
getStats()
method_3622()
getDebugString()
public int
b()
getToBatchCount()
method_34845()
getToBatchCount()
public int
c()
getToUpload()
method_34846()
getChunksToUpload()
public int
d()
getFreeBufferCount()
method_34847()
getFreeBufferCount()
public void
a(fby arg0)
setCamera(Vec3 arg0)
method_19419(class_243 arg0)
setCameraPosition(Vec3d cameraPosition)
public Vec3
e()
getCameraPosition()
method_19420()
getCameraPosition()
public void
f()
uploadAllPendingUploads()
method_22761()
upload()
public void
a(goy$b arg0, gow arg1)
rebuildSectionSync(SectionRenderDispatcher$RenderSection arg0, RenderRegionCache arg1)
method_3627(class_846$class_851 arg0, class_6850 arg1)
rebuild(ChunkBuilder$BuiltChunk chunk, ChunkRendererRegionBuilder builder)
public void
g()
blockUntilClear()
method_3632()
reset()
public void
a(goy$b$a arg0)
schedule(SectionRenderDispatcher$RenderSection$CompileTask arg0)
method_22756(class_846$class_851$class_4577 arg0)
send(ChunkBuilder$BuiltChunk$Task task)
public CompletableFuture<Void>
a(fgr arg0, fgv arg1)
uploadSectionLayer(MeshData arg0, VertexBuffer arg1)
method_3635(class_9801 arg0, class_291 arg1)
scheduleUpload(BuiltBuffer builtBuffer, VertexBuffer glBuffer)
public CompletableFuture<Void>
a(fgp$a arg0, fgv arg1)
uploadSectionIndexBuffer(ByteBufferBuilder$Result arg0, VertexBuffer arg1)
method_60906(class_9799$class_9800 arg0, class_291 arg1)
scheduleIndexBufferUpload(BufferAllocator$CloseableBuffer indexBuffer, VertexBuffer vertexBuffer)
private void
k()
clearBatchQueue()
method_3633()
clear()
public boolean
h()
isQueueEmpty()
method_3630()
isEmpty()
public void
i()
dispose()
method_3619()
stop()