Terrain Render Context
public class TerrainRenderContext extends AbstractRenderContext implements RenderContext
Content copied to clipboard
Implementation of RenderContext used during terrain rendering. Dispatches calls from models during chunk rebuild to the appropriate consumer, and holds/manages all of the state needed by them.
Functions
fallbackConsumer
Link copied to clipboard
getEmitter
Link copied to clipboard
meshConsumer
Link copied to clipboard
popTransform
Link copied to clipboard
abstract void popTransform()
Content copied to clipboard
void popTransform()
Content copied to clipboard
prepare
Link copied to clipboard
TerrainRenderContext prepare(ChunkRendererRegion blockView, ChunkBuilder.BuiltChunk chunkRenderer, ChunkBuilder.ChunkData chunkData, BlockBufferBuilderStorage builders)
Content copied to clipboard
pushTransform
Link copied to clipboard
tesselateBlock
Link copied to clipboard
boolean tesselateBlock(BlockState blockState, BlockPos blockPos, BakedModel model, MatrixStack matrixStack)
Content copied to clipboard
Properties
POOL
Link copied to clipboard
Sources
jvm source
Link copied to clipboard