Class BufferBuilder.BuiltBuffer

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

@Environment(CLIENT) public class BufferBuilder.BuiltBuffer extends Object
A pair of a vertex buffer and an index buffer ready to be uploaded.
Mappings:
Namespace Name
official dzn$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 Ldzn$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.DrawArrayParameters parameters
      Mappings:
      Namespace Name Mixin selector
      official c Ldzn$b;c:Ldzn$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$DrawArrayParameters;
    • released

      private boolean released
      Mappings:
      Namespace Name Mixin selector
      official d Ldzn$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.DrawArrayParameters parameters)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldzn$b;<init>(Ldzn;ILdzn$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$DrawArrayParameters;)V
  • Method Details

    • getVertexBuffer

      public ByteBuffer getVertexBuffer()
      Mappings:
      Namespace Name Mixin selector
      official a Ldzn$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 Ldzn$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.DrawArrayParameters getParameters()
      Mappings:
      Namespace Name Mixin selector
      official c Ldzn$b;c()Ldzn$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$DrawArrayParameters;
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      official d Ldzn$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 Ldzn$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