net.minecraft.client.renderer.chunk

public class SectionRenderDispatcher

frc
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 org.slf4j.Logger
a
LOGGER
field_4445
LOGGER
f_291440_
private static final int
b
MAX_WORKERS_32_BIT
field_32831
field_32831
f_290396_
private static final int
c
MAX_HIGH_PRIORITY_QUOTA
field_35300
field_35300
f_291537_
private final PriorityBlockingQueue<SectionRenderDispatcher$RenderSection$CompileTask>
d
toBatchHighPriority
field_35301
prioritizedTaskQueue
f_290449_
private final Queue<SectionRenderDispatcher$RenderSection$CompileTask>
e
toBatchLowPriority
field_35302
taskQueue
f_291696_
private int
f
highPriorityQuota
field_35303
processablePrioritizedTaskCount
f_291840_
private final Queue<SectionBufferBuilderPack>
g
freeBuffers
field_20827
threadBuffers
f_290858_
private final Queue<Runnable>
h
toUpload
field_4443
uploadQueue
f_290841_
private volatile int
i
toBatchCount
field_20992
queuedTaskCount
f_290603_
private volatile int
j
freeBufferCount
field_20993
bufferCount
f_291113_
final SectionBufferBuilderPack
k
fixedBuffers
field_20828
buffers
f_290794_
private final ProcessorMailbox<Runnable>
l
mailbox
field_20829
mailbox
f_290713_
private final Executor
m
executor
field_20830
executor
f_291206_
ClientLevel
n
level
field_20831
world
f_291400_
final LevelRenderer
o
renderer
field_20832
worldRenderer
f_290611_
private Vec3
p
camera
field_18766
cameraPosition
f_290602_

Constructor summary

ModifierConstructor
public (ClientLevel world, LevelRenderer worldRenderer, Executor executor, boolean is64Bits, SectionBufferBuilderPack buffers)

Method summary

Modifier and TypeMethod
public void
a(fix 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(ehn 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(frc$b arg0, frb 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(frc$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(elk$b arg0, els arg1)
uploadSectionLayer(BufferBuilder$RenderedBuffer arg0, VertexBuffer arg1)
method_3635(class_287$class_7433 arg0, class_291 arg1)
scheduleUpload(BufferBuilder$BuiltBuffer builtBuffer, VertexBuffer glBuffer)
m_292947_(C_3173_$C_213330_ p_298938_, 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_()