Package net.minecraft.client.renderer
Class IRenderTypeBuffer.Impl
- java.lang.Object
-
- net.minecraft.client.renderer.IRenderTypeBuffer.Impl
-
- All Implemented Interfaces:
IRenderTypeBuffer
- Enclosing interface:
- IRenderTypeBuffer
public static class IRenderTypeBuffer.Impl extends java.lang.Object implements IRenderTypeBuffer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.client.renderer.IRenderTypeBuffer
IRenderTypeBuffer.Impl
-
-
Field Summary
Fields Modifier and Type Field Description protected BufferBuilder
builder
protected java.util.Map<RenderType,BufferBuilder>
fixedBuffers
protected java.util.Optional<RenderType>
lastState
protected java.util.Set<BufferBuilder>
startedBuffers
-
Constructor Summary
Constructors Modifier Constructor Description protected
Impl(BufferBuilder p_i225969_1_, java.util.Map<RenderType,BufferBuilder> p_i225969_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endBatch()
void
endBatch(RenderType p_228462_1_)
IVertexBuilder
getBuffer(RenderType p_getBuffer_1_)
private BufferBuilder
getBuilderRaw(RenderType p_228463_1_)
-
-
-
Field Detail
-
builder
protected final BufferBuilder builder
-
fixedBuffers
protected final java.util.Map<RenderType,BufferBuilder> fixedBuffers
-
lastState
protected java.util.Optional<RenderType> lastState
-
startedBuffers
protected final java.util.Set<BufferBuilder> startedBuffers
-
-
Constructor Detail
-
Impl
protected Impl(BufferBuilder p_i225969_1_, java.util.Map<RenderType,BufferBuilder> p_i225969_2_)
-
-
Method Detail
-
getBuffer
public IVertexBuilder getBuffer(RenderType p_getBuffer_1_)
- Specified by:
getBuffer
in interfaceIRenderTypeBuffer
-
getBuilderRaw
private BufferBuilder getBuilderRaw(RenderType p_228463_1_)
-
endBatch
public void endBatch()
-
endBatch
public void endBatch(RenderType p_228462_1_)
-
-