ChunkRenderInfo

public class ChunkRenderInfo

Holds, manages and provides access to the chunk-related state needed by fallback and mesh consumers during terrain rendering.

Exception: per-block position offsets are tracked here so they can be applied together with chunk offsets.

Functions

getInitializedBuffer
Link copied to clipboard
BufferBuilder getInitializedBuffer(RenderLayer renderLayer)
Lazily retrieves output buffer for given layer, initializing as needed.

Sources

jvm source
Link copied to clipboard