public class ViewFrustum
extends java.lang.Object
修飾子とタイプ | フィールドと説明 |
---|---|
protected int |
countChunksX |
protected int |
countChunksY |
protected int |
countChunksZ |
ChunkRenderDispatcher.ChunkRender[] |
renderChunks |
protected WorldRenderer |
renderGlobal |
protected World |
world |
コンストラクタと説明 |
---|
ViewFrustum(ChunkRenderDispatcher renderDispatcherIn,
World worldIn,
int countChunksIn,
WorldRenderer renderGlobalIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
createRenderChunks(ChunkRenderDispatcher renderChunkFactory) |
void |
deleteGlResources() |
protected ChunkRenderDispatcher.ChunkRender |
getRenderChunk(BlockPos pos) |
void |
markForRerender(int sectionX,
int sectionY,
int sectionZ,
boolean rerenderOnMainThread) |
protected void |
setCountChunksXYZ(int renderDistanceChunks) |
void |
updateChunkPositions(double viewEntityX,
double viewEntityZ) |
protected final WorldRenderer renderGlobal
protected final World world
protected int countChunksY
protected int countChunksX
protected int countChunksZ
public ChunkRenderDispatcher.ChunkRender[] renderChunks
public ViewFrustum(ChunkRenderDispatcher renderDispatcherIn, World worldIn, int countChunksIn, WorldRenderer renderGlobalIn)
protected void createRenderChunks(ChunkRenderDispatcher renderChunkFactory)
public void deleteGlResources()
protected void setCountChunksXYZ(int renderDistanceChunks)
public void updateChunkPositions(double viewEntityX, double viewEntityZ)
public void markForRerender(int sectionX, int sectionY, int sectionZ, boolean rerenderOnMainThread)
@Nullable protected ChunkRenderDispatcher.ChunkRender getRenderChunk(BlockPos pos)