Class VertexBuffer

java.lang.Object
net.minecraft.client.render.VertexBuffer

@Environment(CLIENT) public class VertexBuffer extends Object
Mappings:
Namespace Name
official bvn
intermediary net/minecraft/class_2521
named net/minecraft/client/render/VertexBuffer
  • Field Details

    • id

      private int id
      Mappings:
      Namespace Name Mixin selector
      official a Lbvn;a:I
      intermediary field_11220 Lnet/minecraft/class_2521;field_11220:I
      named id Lnet/minecraft/client/render/VertexBuffer;id:I
    • format

      private final VertexFormat format
      Mappings:
      Namespace Name Mixin selector
      official b Lbvn;b:Lbvo;
      intermediary field_11221 Lnet/minecraft/class_2521;field_11221:Lnet/minecraft/class_2522;
      named format Lnet/minecraft/client/render/VertexBuffer;format:Lnet/minecraft/client/render/VertexFormat;
    • size

      private int size
      Mappings:
      Namespace Name Mixin selector
      official c Lbvn;c:I
      intermediary field_11222 Lnet/minecraft/class_2521;field_11222:I
      named size Lnet/minecraft/client/render/VertexBuffer;size:I
  • Constructor Details

    • VertexBuffer

      public VertexBuffer(VertexFormat format)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvn;<init>(Lbvo;)V
      intermediary <init> Lnet/minecraft/class_2521;<init>(Lnet/minecraft/class_2522;)V
      named <init> Lnet/minecraft/client/render/VertexBuffer;<init>(Lnet/minecraft/client/render/VertexFormat;)V
  • Method Details

    • bind

      public void bind()
      Mappings:
      Namespace Name Mixin selector
      official a Lbvn;a()V
      intermediary method_10327 Lnet/minecraft/class_2521;method_10327()V
      named bind Lnet/minecraft/client/render/VertexBuffer;bind()V
    • data

      public void data(ByteBuffer buffer)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvn;a(Ljava/nio/ByteBuffer;)V
      intermediary method_10329 Lnet/minecraft/class_2521;method_10329(Ljava/nio/ByteBuffer;)V
      named data Lnet/minecraft/client/render/VertexBuffer;data(Ljava/nio/ByteBuffer;)V
    • draw

      public void draw(int mode)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvn;a(I)V
      intermediary method_10328 Lnet/minecraft/class_2521;method_10328(I)V
      named draw Lnet/minecraft/client/render/VertexBuffer;draw(I)V
    • unbind

      public void unbind()
      Mappings:
      Namespace Name Mixin selector
      official b Lbvn;b()V
      intermediary method_10330 Lnet/minecraft/class_2521;method_10330()V
      named unbind Lnet/minecraft/client/render/VertexBuffer;unbind()V
    • delete

      public void delete()
      Mappings:
      Namespace Name Mixin selector
      official c Lbvn;c()V
      intermediary method_10331 Lnet/minecraft/class_2521;method_10331()V
      named delete Lnet/minecraft/client/render/VertexBuffer;delete()V