Class ChunkRenderDispatcher


  • public class ChunkRenderDispatcher
    extends java.lang.Object
    • Constructor Detail

      • ChunkRenderDispatcher

        public ChunkRenderDispatcher​(World p_i226020_1_,
                                     WorldRenderer p_i226020_2_,
                                     java.util.concurrent.Executor p_i226020_3_,
                                     boolean p_i226020_4_,
                                     RegionRenderCacheBuilder p_i226020_5_)
      • ChunkRenderDispatcher

        public ChunkRenderDispatcher​(World p_i226020_1_,
                                     WorldRenderer p_i226020_2_,
                                     java.util.concurrent.Executor p_i226020_3_,
                                     boolean p_i226020_4_,
                                     RegionRenderCacheBuilder p_i226020_5_,
                                     int countRenderBuilders)
    • Method Detail

      • setLevel

        public void setLevel​(World p_228895_1_)
      • runTask

        private void runTask()
      • getStats

        public java.lang.String getStats()
      • setCamera

        public void setCamera​(Vector3d p_217669_1_)
      • getCameraPosition

        public Vector3d getCameraPosition()
      • uploadAllPendingUploads

        public boolean uploadAllPendingUploads()
      • blockUntilClear

        public void blockUntilClear()
      • uploadChunkLayer

        public java.util.concurrent.CompletableFuture<java.lang.Void> uploadChunkLayer​(BufferBuilder p_228896_1_,
                                                                                       VertexBuffer p_228896_2_)
      • doUploadChunkLayer

        private java.util.concurrent.CompletableFuture<java.lang.Void> doUploadChunkLayer​(BufferBuilder p_228904_1_,
                                                                                          VertexBuffer p_228904_2_)
      • clearBatchQueue

        private void clearBatchQueue()
      • isQueueEmpty

        public boolean isQueueEmpty()
      • dispose

        public void dispose()