Package net.minecraft.client.gl
Class VertexBuffer
java.lang.Object
net.minecraft.client.gl.VertexBuffer
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name official dpm
intermediary net/minecraft/class_291
named net/minecraft/client/gl/VertexBuffer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate VertexFormat.IntType
private VertexFormat.DrawMode
private boolean
private int
private VertexFormat
private int
private int
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
bind()
void
close()
void
method_34427(Matrix4f matrix4f, Matrix4f matrix4f2, Shader shader)
static void
void
method_34431(Matrix4f matrix4f, Matrix4f matrix4f2, Shader shader)
void
private void
void
submitUpload(BufferBuilder buffer)
static void
unbind()
void
upload(BufferBuilder buffer)
private void
uploadInternal(BufferBuilder buffer)
-
Field Details
-
vertexBufferId
private int vertexBufferId- Mappings:
Namespace Name Mixin selector official a
Ldpm;a:I
intermediary field_1594
Lnet/minecraft/class_291;field_1594:I
named vertexBufferId
Lnet/minecraft/client/gl/VertexBuffer;vertexBufferId:I
-
indexBufferId
private int indexBufferId- Mappings:
Namespace Name Mixin selector official b
Ldpm;b:I
intermediary field_27366
Lnet/minecraft/class_291;field_27366:I
named indexBufferId
Lnet/minecraft/client/gl/VertexBuffer;indexBufferId:I
-
field_27367
- Mappings:
Namespace Name Mixin selector official c
Ldpm;c:Ldpo$a;
intermediary field_27367
Lnet/minecraft/class_291;field_27367:Lnet/minecraft/class_293$class_5595;
named field_27367
Lnet/minecraft/client/gl/VertexBuffer;field_27367:Lnet/minecraft/client/render/VertexFormat$IntType;
-
field_29338
private int field_29338- Mappings:
Namespace Name Mixin selector official d
Ldpm;d:I
intermediary field_29338
Lnet/minecraft/class_291;field_29338:I
named field_29338
Lnet/minecraft/client/gl/VertexBuffer;field_29338:I
-
vertexCount
private int vertexCount- Mappings:
Namespace Name Mixin selector official e
Ldpm;e:I
intermediary field_1593
Lnet/minecraft/class_291;field_1593:I
named vertexCount
Lnet/minecraft/client/gl/VertexBuffer;vertexCount:I
-
field_27368
- Mappings:
Namespace Name Mixin selector official f
Ldpm;f:Ldpo$b;
intermediary field_27368
Lnet/minecraft/class_291;field_27368:Lnet/minecraft/class_293$class_5596;
named field_27368
Lnet/minecraft/client/gl/VertexBuffer;field_27368:Lnet/minecraft/client/render/VertexFormat$DrawMode;
-
field_27369
private boolean field_27369- Mappings:
Namespace Name Mixin selector official g
Ldpm;g:Z
intermediary field_27369
Lnet/minecraft/class_291;field_27369:Z
named field_27369
Lnet/minecraft/client/gl/VertexBuffer;field_27369:Z
-
field_29339
- Mappings:
Namespace Name Mixin selector official h
Ldpm;h:Ldpo;
intermediary field_29339
Lnet/minecraft/class_291;field_29339:Lnet/minecraft/class_293;
named field_29339
Lnet/minecraft/client/gl/VertexBuffer;field_29339:Lnet/minecraft/client/render/VertexFormat;
-
-
Constructor Details
-
VertexBuffer
public VertexBuffer()
-
-
Method Details
-
bind
public void bind()- Mappings:
Namespace Name Mixin selector official a
Ldpm;a()V
intermediary method_1353
Lnet/minecraft/class_291;method_1353()V
named bind
Lnet/minecraft/client/gl/VertexBuffer;bind()V
-
upload
- Mappings:
Namespace Name Mixin selector official a
Ldpm;a(Ldpe;)V
intermediary method_1352
Lnet/minecraft/class_291;method_1352(Lnet/minecraft/class_287;)V
named upload
Lnet/minecraft/client/gl/VertexBuffer;upload(Lnet/minecraft/client/render/BufferBuilder;)V
-
submitUpload
- Mappings:
Namespace Name Mixin selector official b
Ldpm;b(Ldpe;)Ljava/util/concurrent/CompletableFuture;
intermediary method_22643
Lnet/minecraft/class_291;method_22643(Lnet/minecraft/class_287;)Ljava/util/concurrent/CompletableFuture;
named submitUpload
Lnet/minecraft/client/gl/VertexBuffer;submitUpload(Lnet/minecraft/client/render/BufferBuilder;)Ljava/util/concurrent/CompletableFuture;
-
uploadInternal
- Mappings:
Namespace Name Mixin selector official c
Ldpm;c(Ldpe;)V
intermediary method_22644
Lnet/minecraft/class_291;method_22644(Lnet/minecraft/class_287;)V
named uploadInternal
Lnet/minecraft/client/gl/VertexBuffer;uploadInternal(Lnet/minecraft/client/render/BufferBuilder;)V
-
method_34437
private void method_34437()- Mappings:
Namespace Name Mixin selector official g
Ldpm;g()V
intermediary method_34437
Lnet/minecraft/class_291;method_34437()V
named method_34437
Lnet/minecraft/client/gl/VertexBuffer;method_34437()V
-
method_34430
public static void method_34430()- Mappings:
Namespace Name Mixin selector official b
Ldpm;b()V
intermediary method_34430
Lnet/minecraft/class_291;method_34430()V
named method_34430
Lnet/minecraft/client/gl/VertexBuffer;method_34430()V
-
method_35665
public void method_35665()- Mappings:
Namespace Name Mixin selector official c
Ldpm;c()V
intermediary method_35665
Lnet/minecraft/class_291;method_35665()V
named method_35665
Lnet/minecraft/client/gl/VertexBuffer;method_35665()V
-
method_34427
- Mappings:
Namespace Name Mixin selector official a
Ldpm;a(Ld;Ld;Lemm;)V
intermediary method_34427
Lnet/minecraft/class_291;method_34427(Lnet/minecraft/class_1159;Lnet/minecraft/class_1159;Lnet/minecraft/class_5944;)V
named method_34427
Lnet/minecraft/client/gl/VertexBuffer;method_34427(Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/client/render/Shader;)V
-
method_34431
- Mappings:
Namespace Name Mixin selector official b
Ldpm;b(Ld;Ld;Lemm;)V
intermediary method_34431
Lnet/minecraft/class_291;method_34431(Lnet/minecraft/class_1159;Lnet/minecraft/class_1159;Lnet/minecraft/class_5944;)V
named method_34431
Lnet/minecraft/client/gl/VertexBuffer;method_34431(Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/client/render/Shader;)V
-
method_34432
public void method_34432()- Mappings:
Namespace Name Mixin selector official d
Ldpm;d()V
intermediary method_34432
Lnet/minecraft/class_291;method_34432()V
named method_34432
Lnet/minecraft/client/gl/VertexBuffer;method_34432()V
-
unbind
public static void unbind()- Mappings:
Namespace Name Mixin selector official e
Ldpm;e()V
intermediary method_1354
Lnet/minecraft/class_291;method_1354()V
named unbind
Lnet/minecraft/client/gl/VertexBuffer;unbind()V
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Mappings:
Namespace Name Mixin selector official close
Ldpm;close()V
intermediary close
Lnet/minecraft/class_291;close()V
named close
Lnet/minecraft/client/gl/VertexBuffer;close()V
-
method_34435
- Mappings:
Namespace Name Mixin selector official f
Ldpm;f()Ldpo;
intermediary method_34435
Lnet/minecraft/class_291;method_34435()Lnet/minecraft/class_293;
named method_34435
Lnet/minecraft/client/gl/VertexBuffer;method_34435()Lnet/minecraft/client/render/VertexFormat;
-