net.minecraft.client.render

public class VertexConsumerProvider$Immediate

implements VertexConsumerProvider

net.minecraft.client.renderer.MultiBufferSource$BufferSource
net.minecraft.class_4597$class_4598
net.minecraft.client.render.VertexConsumerProvider$Immediate

Field summary

Modifier and TypeField
protected final BufferAllocator
sharedBuffer
field_52156
allocator
protected final SequencedMap<RenderLayer, BufferAllocator>
fixedBuffers
field_20953
layerBuffers
protected final Map<RenderLayer, BufferBuilder>
startedBuilders
field_52157
pending
protected RenderLayer
lastSharedType
field_52158
currentLayer

Constructor summary

ModifierConstructor
protected (BufferAllocator allocator, SequencedMap<RenderLayer, BufferAllocator> layerBuffers)

Method summary

Modifier and TypeMethod
public VertexConsumer
getBuffer(RenderType renderType)
method_73477(class_1921 arg0)
getBuffer(RenderLayer arg0)
public void
endLastBatch()
method_37104()
drawCurrentLayer()
public void
endBatch()
method_22993()
draw()
public void
endBatch(RenderType type)
method_22994(class_1921 arg0)
draw(RenderLayer layer)
private void
endBatch(RenderType type, BufferBuilder builder)
method_60893(class_1921 arg0, class_287 arg1)
draw(RenderLayer layer, BufferBuilder builder)