net.minecraft.client.renderer.chunk

public class SectionRenderDispatcher

gia
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 static final int
a
MAX_HIGH_PRIORITY_QUOTA
field_35300
field_35300
f_291537_
private final PriorityBlockingQueue<SectionRenderDispatcher$RenderSection$CompileTask>
b
toBatchHighPriority
field_35301
prioritizedTaskQueue
f_290449_
private final Queue<SectionRenderDispatcher$RenderSection$CompileTask>
c
toBatchLowPriority
field_35302
taskQueue
f_291696_
private int
d
highPriorityQuota
field_35303
processablePrioritizedTaskCount
f_291840_
private final Queue<Runnable>
e
toUpload
field_4443
uploadQueue
f_290841_
final SectionBufferBuilderPack
f
fixedBuffers
field_20828
buffers
f_290794_
private final SectionBufferBuilderPool
g
bufferPool
field_46907
buffersPool
f_302374_
private volatile int
h
toBatchCount
field_20992
queuedTaskCount
f_290603_
private volatile boolean
i
closed
field_46908
stopped
f_302977_
private final ProcessorMailbox<Runnable>
j
mailbox
field_20829
mailbox
f_290713_
private final Executor
k
executor
field_20830
executor
f_291206_
ClientLevel
l
level
field_20831
world
f_291400_
final LevelRenderer
m
renderer
field_20832
worldRenderer
f_290611_
private Vec3
n
camera
field_18766
cameraPosition
f_290602_
final SectionCompiler
o
sectionCompiler
field_52171
field_52171
f_337370_

Constructor summary

ModifierConstructor
public (ClientLevel world, LevelRenderer worldRenderer, Executor executor, RenderBuffers bufferBuilderStorage, BlockRenderDispatcher p_344654_, BlockEntityRenderDispatcher arg5)

Method summary

Modifier and TypeMethod
public void
a(fzf 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_()
private SectionRenderDispatcher$RenderSection$CompileTask
k()
pollTask()
method_39132()
pollTask()
m_293164_()
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(exc 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(gia$b arg0, ghy 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(gia$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(fbh arg0, fbl 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(fbf$a arg0, fbl arg1)
uploadSectionIndexBuffer(ByteBufferBuilder$Result arg0, VertexBuffer arg1)
method_60906(class_9799$class_9800 arg0, class_291 arg1)
method_60906(BufferAllocator$CloseableBuffer arg0, VertexBuffer arg1)
m_339467_(C_336589_$C_336543_ p_344049_, C_3186_ arg1)
private void
l()
clearBatchQueue()
method_3633()
clear()
m_295487_()
public boolean
h()
isQueueEmpty()
method_3630()
isEmpty()
m_293214_()
public void
i()
dispose()
method_3619()
stop()
m_294449_()