Package net.minecraft.client.gl
Class VertexBuffer
java.lang.Object
net.minecraft.client.gl.VertexBuffer
- All Implemented Interfaces:
AutoCloseable
@Environment(CLIENT) public class VertexBuffer extends Object implements AutoCloseable
- Mappings:
Namespace Name official dno
intermediary net/minecraft/class_291
named net/minecraft/client/gl/VertexBuffer
-
Field Summary
Fields Modifier and Type Field Description private VertexFormat.IntType
field_27367
private VertexFormat.DrawMode
field_27368
private boolean
field_27369
private int
field_29338
private VertexFormat
field_29339
private int
indexBufferId
private int
vertexBufferId
private int
vertexCount
-
Constructor Summary
Constructors Constructor Description VertexBuffer()
-
Method Summary
Modifier and Type Method Description void
bind()
void
close()
void
method_34427(Matrix4f matrix4f, Matrix4f matrix4f2, class_5944 class_5944)
static void
method_34430()
void
method_34431(Matrix4f matrix4f, Matrix4f matrix4f2, class_5944 class_5944)
void
method_34432()
VertexFormat
method_34435()
private void
method_34437()
CompletableFuture<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
Ldno;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
Ldno;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
Ldno;c:Ldnq$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
Ldno;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
Ldno;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
Ldno;f:Ldnq$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
Ldno;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
Ldno;h:Ldnq;
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
Ldno;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
Ldno;a(Ldng;)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
Ldno;b(Ldng;)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
Ldno;c(Ldng;)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 f
Ldno;f()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
Ldno;b()V
intermediary method_34430
Lnet/minecraft/class_291;method_34430()V
named method_34430
Lnet/minecraft/client/gl/VertexBuffer;method_34430()V
-
method_34427
- Mappings:
Namespace Name Mixin selector official a
Ldno;a(Lb;Lb;Lejv;)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/class_5944;)V
-
method_34431
- Mappings:
Namespace Name Mixin selector official b
Ldno;b(Lb;Lb;Lejv;)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/class_5944;)V
-
method_34432
public void method_34432()- Mappings:
Namespace Name Mixin selector official c
Ldno;c()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 d
Ldno;d()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
Ldno;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 e
Ldno;e()Ldnq;
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;
-