Class BufferBuilder.BuiltBuffer

java.lang.Object
net.minecraft.client.render.BufferBuilder.BuiltBuffer
Enclosing class:
BufferBuilder

@Environment(CLIENT) public class BufferBuilder.BuiltBuffer extends Object
An output of BufferBuilder. It contains a ByteBuffer of vertices, a ByteBuffer of indices if sorting has been done, and some information necessary to draw these data.
Mappings:
Namespace Name
named net/minecraft/client/render/BufferBuilder$BuiltBuffer
intermediary net/minecraft/class_287$class_7433
official ezu$b
  • Field Details

    • batchOffset

      private final int batchOffset
      Mappings:
      Namespace Name Mixin selector
      named batchOffset Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;batchOffset:I
      intermediary field_39064 Lnet/minecraft/class_287$class_7433;field_39064:I
      official b Lezu$b;b:I
    • parameters

      private final BufferBuilder.DrawParameters parameters
      Mappings:
      Namespace Name Mixin selector
      named parameters Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;parameters:Lnet/minecraft/client/render/BufferBuilder$DrawParameters;
      intermediary field_39065 Lnet/minecraft/class_287$class_7433;field_39065:Lnet/minecraft/class_287$class_4574;
      official c Lezu$b;c:Lezu$a;
    • released

      private boolean released
      Mappings:
      Namespace Name Mixin selector
      named released Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;released:Z
      intermediary field_39066 Lnet/minecraft/class_287$class_7433;field_39066:Z
      official d Lezu$b;d:Z
  • Constructor Details

    • BuiltBuffer

      BuiltBuffer(int batchOffset, BufferBuilder.DrawParameters parameters)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;<init>(Lnet/minecraft/client/render/BufferBuilder;ILnet/minecraft/client/render/BufferBuilder$DrawParameters;)V
      intermediary <init> Lnet/minecraft/class_287$class_7433;<init>(Lnet/minecraft/class_287;ILnet/minecraft/class_287$class_4574;)V
      official <init> Lezu$b;<init>(Lezu;ILezu$a;)V
  • Method Details

    • getVertexBuffer

      @Nullable public @Nullable ByteBuffer getVertexBuffer()
      Mappings:
      Namespace Name Mixin selector
      named getVertexBuffer Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;getVertexBuffer()Ljava/nio/ByteBuffer;
      intermediary method_43581 Lnet/minecraft/class_287$class_7433;method_43581()Ljava/nio/ByteBuffer;
      official a Lezu$b;a()Ljava/nio/ByteBuffer;
    • getIndexBuffer

      @Nullable public @Nullable ByteBuffer getIndexBuffer()
      Mappings:
      Namespace Name Mixin selector
      named getIndexBuffer Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;getIndexBuffer()Ljava/nio/ByteBuffer;
      intermediary method_43582 Lnet/minecraft/class_287$class_7433;method_43582()Ljava/nio/ByteBuffer;
      official b Lezu$b;b()Ljava/nio/ByteBuffer;
    • getParameters

      public BufferBuilder.DrawParameters getParameters()
      Mappings:
      Namespace Name Mixin selector
      named getParameters Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;getParameters()Lnet/minecraft/client/render/BufferBuilder$DrawParameters;
      intermediary method_43583 Lnet/minecraft/class_287$class_7433;method_43583()Lnet/minecraft/class_287$class_4574;
      official c Lezu$b;c()Lezu$a;
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;isEmpty()Z
      intermediary method_43584 Lnet/minecraft/class_287$class_7433;method_43584()Z
      official d Lezu$b;d()Z
    • release

      public void release()
      Mappings:
      Namespace Name Mixin selector
      named release Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;release()V
      intermediary method_43585 Lnet/minecraft/class_287$class_7433;method_43585()V
      official e Lezu$b;e()V