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
official edy$b
intermediary net/minecraft/class_287$class_7433
named net/minecraft/client/render/BufferBuilder$BuiltBuffer
  • Field Details

    • batchOffset

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

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

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

    • BuiltBuffer

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

    • getVertexBuffer

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

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

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

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

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