public class ChunkRenderDispatcher
extends java.lang.Object
Constructor and Description |
---|
ChunkRenderDispatcher() |
ChunkRenderDispatcher(int countRenderBuilders) |
Modifier and Type | Method and Description |
---|---|
RegionRenderCacheBuilder |
allocateRenderBuilder() |
void |
clearChunkUpdates() |
void |
freeRenderBuilder(RegionRenderCacheBuilder p_178512_1_) |
java.lang.String |
getDebugInfo() |
ChunkCompileTaskGenerator |
getNextChunkUpdate() |
boolean |
hasChunkUpdates() |
boolean |
hasNoFreeRenderBuilders() |
boolean |
runChunkUploads(long p_178516_1_) |
void |
stopChunkUpdates() |
void |
stopWorkerThreads() |
boolean |
updateChunkLater(RenderChunk chunkRenderer) |
boolean |
updateChunkNow(RenderChunk chunkRenderer) |
boolean |
updateTransparencyLater(RenderChunk chunkRenderer) |
com.google.common.util.concurrent.ListenableFuture<java.lang.Object> |
uploadChunk(BlockRenderLayer p_188245_1_,
VertexBuffer p_188245_2_,
RenderChunk p_188245_3_,
CompiledChunk p_188245_4_,
double p_188245_5_) |
public ChunkRenderDispatcher()
public ChunkRenderDispatcher(int countRenderBuilders)
public java.lang.String getDebugInfo()
public boolean runChunkUploads(long p_178516_1_)
public boolean updateChunkLater(RenderChunk chunkRenderer)
public boolean updateChunkNow(RenderChunk chunkRenderer)
public void stopChunkUpdates()
public void freeRenderBuilder(RegionRenderCacheBuilder p_178512_1_)
public RegionRenderCacheBuilder allocateRenderBuilder() throws java.lang.InterruptedException
java.lang.InterruptedException
public ChunkCompileTaskGenerator getNextChunkUpdate() throws java.lang.InterruptedException
java.lang.InterruptedException
public boolean updateTransparencyLater(RenderChunk chunkRenderer)
public com.google.common.util.concurrent.ListenableFuture<java.lang.Object> uploadChunk(BlockRenderLayer p_188245_1_, VertexBuffer p_188245_2_, RenderChunk p_188245_3_, CompiledChunk p_188245_4_, double p_188245_5_)
public void clearChunkUpdates()
public boolean hasChunkUpdates()
public void stopWorkerThreads()
public boolean hasNoFreeRenderBuilders()