net.minecraft.client.render

public abstract class SectionRenderState

net.minecraft.client.renderer.chunk.ChunkSectionsToRender
net.minecraft.class_11532
net.minecraft.client.render.SectionRenderState

Field summary

Modifier and TypeField
private final int
maxIndicesRequired
field_1_9675
maxIndexCount
private final GpuBufferSlice
terrainTransformUBO
field_1_9676
terrainUniform

Constructor summary

ModifierConstructor
private (GpuBufferSlice terrainUniform, int maxIndexCount)

Method summary

Modifier and TypeMethod
protected abstract void
render(ChunkSectionLayer layer, RenderPass renderPass, GpuBuffer defaultIndexBuffer, IndexType defaultIndexType, RenderPipeline renderPipelineOverride, RenderPipeline renderPipelineOverrideMultidraw)
method_1_9333(class_11515 arg0, class_1_1317 arg1, class_1_1211 arg2, class_5595 arg3, class_1_1257 arg4, class_1_1257 arg5)
drawInternal(BlockRenderLayer blockRenderLayer, RenderPass pass, GpuBuffer indexBuffer, IndexType indexType, RenderPipeline pipeline, RenderPipeline multidrawPipeline)
public void
renderGroup(ChunkSectionLayerGroup group, RenderPass renderPass, GpuSampler sampler, GpuTextureView atlas, boolean renderWireframeTerrain)
method_1_7510(class_11531 arg0, class_1_1317 arg1, class_12137 arg2, class_1_1330 arg3, boolean arg4)
draw(BlockRenderLayerGroup blockRenderLayerGroup, RenderPass pass, GpuSampler terrainSampler, GpuTextureView terrainTextureView, boolean wireframe)
public void
renderOit(GpuSampler sampler, OitStage stage, OitRenderPassProvider$Parameters params, GpuTextureView atlas, GpuTextureView lightmap)
method_1_7512(class_12137 arg0, class_1_1153 arg1, class_1_1174$class_1_1175 arg2, class_1_1330 arg3, class_1_1330 arg4)
draw(GpuSampler terrainSampler, OitStage oitStage, OitRenderPasses$TextureSet oitTextures, GpuTextureView terrainTextureView, GpuTextureView lightmapTextureView)
private void
renderLayers(ChunkSectionLayer[] layers, GpuSampler sampler, RenderPass renderPass, GpuTextureView atlas, GpuTextureView lightmap, RenderPipeline renderPipelineOverride, RenderPipeline renderPipelineOverrideMultidraw)
method_1_7511(class_11515[] arg0, class_12137 arg1, class_1_1317 arg2, class_1_1330 arg3, class_1_1330 arg4, class_1_1257 arg5, class_1_1257 arg6)
draw(BlockRenderLayer[] blockRenderLayers, GpuSampler terrainSampler, RenderPass pass, GpuTextureView terrainTextureView, GpuTextureView lightmapTextureView, RenderPipeline pipeline, RenderPipeline multidrawPipeline)
private static String
lambda$renderLayers$0(ChunkSectionLayer arg0)
method_1_7508(class_11515 arg0)
method_1_7508(BlockRenderLayer arg0)
private static String
lambda$renderOit$0()
method_1_7509()
method_1_7509()