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
net.minecraft.src.C_290152_

Field summary

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

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)
m_293166_(C_3899_ arg0)
private void
j()
runTask()
method_22763()
scheduleRunTasks()
m_293371_()
public String
a()
getStats()
method_3622()
getDebugString()
m_292950_()
public int
b()
getToBatchCount()
method_34845()
getToBatchCount()
m_293066_()
public int
c()
getToUpload()
method_34846()
getChunksToUpload()
m_294057_()
public int
d()
getFreeBufferCount()
method_34847()
getFreeBufferCount()
m_293327_()
public void
a(fby arg0)
setCamera(Vec3 arg0)
method_19419(class_243 arg0)
setCameraPosition(Vec3d cameraPosition)
m_294870_(C_3046_ arg0)
public Vec3
e()
getCameraPosition()
method_19420()
getCameraPosition()
m_293014_()
public void
f()
uploadAllPendingUploads()
method_22761()
upload()
m_295287_()
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)
m_295202_(C_290152_$C_290138_ p_297835_, C_200009_ arg1)
public void
g()
blockUntilClear()
method_3632()
reset()
m_295714_()
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)
m_294204_(C_290152_$C_290138_$C_290109_ arg0)
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)
m_292947_(C_336471_ p_298938_, C_3186_ arg1)
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)
m_339467_(C_336589_$C_336543_ p_344049_, C_3186_ arg1)
private void
k()
clearBatchQueue()
method_3633()
clear()
m_295487_()
public boolean
h()
isQueueEmpty()
method_3630()
isEmpty()
m_293214_()
public void
i()
dispose()
method_3619()
stop()
m_294449_()