net.minecraft.client.render

public record SectionRenderState

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

Field summary

Modifier and TypeField
private final GpuTextureView
textureView
comp_5192
textureView
private final EnumMap<BlockRenderLayer, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<List<RenderPass$RenderObject<GpuBufferSlice[]>>>>
drawGroupsPerLayer
comp_4402
drawGroupsPerLayer
private final int
maxIndicesRequired
comp_4403
maxIndicesRequired
private final GpuBufferSlice[]
chunkSectionInfos
comp_5193
chunkSectionInfos

Constructor summary

ModifierConstructor
public (GpuTextureView textureView, EnumMap<BlockRenderLayer, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<List<RenderPass$RenderObject<GpuBufferSlice[]>>>> drawGroupsPerLayer, int maxIndicesRequired, GpuBufferSlice[] chunkSectionInfos)

Method summary

Modifier and TypeMethod
public void
renderGroup(ChunkSectionLayerGroup group, RenderPass renderPass, GpuSampler sampler, boolean renderWireframeTerrain)
method_1_7510(class_11531 arg0, RenderPass arg1, class_12137 arg2, boolean arg3)
draw(BlockRenderLayerGroup blockRenderLayerGroup, RenderPass renderPass, GpuSampler terrainSampler, boolean wireframe)
public void
renderOit(GpuSampler sampler, OitStage stage, OitRenderPassProvider$Parameters params, GpuTextureView lightmap)
method_1_7512(class_12137 arg0, class_1_1153 arg1, class_1_1174$class_1_1175 arg2, GpuTextureView arg3)
draw(GpuSampler terrainSampler, OitStage oitStage, OitRenderPasses$TextureSet oitTextures, GpuTextureView lightmapTextureView)
private void
renderLayers(ChunkSectionLayer[] layers, GpuSampler sampler, RenderPass renderPass, GpuTextureView lightmap, RenderPipeline renderPipelineOverride, boolean shouldReverseTranslucent)
method_1_7511(class_11515[] arg0, class_12137 arg1, RenderPass arg2, GpuTextureView arg3, RenderPipeline arg4, boolean arg5)
draw(BlockRenderLayer[] blockRenderLayers, GpuSampler terrainSampler, RenderPass renderPass, GpuTextureView lightmapTextureView, RenderPipeline pipeline, boolean reverseTranslucent)
public GpuTextureView
textureView()
comp_5192()
textureView()
public EnumMap<BlockRenderLayer, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<List<RenderPass$RenderObject<GpuBufferSlice[]>>>>
drawGroupsPerLayer()
comp_4402()
drawGroupsPerLayer()
public int
maxIndicesRequired()
comp_4403()
maxIndicesRequired()
public GpuBufferSlice[]
chunkSectionInfos()
comp_5193()
chunkSectionInfos()
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()