类 VertexBuffer
- java.lang.Object
-
- net.minecraft.client.gl.VertexBuffer
-
- 所有已实现的接口:
AutoCloseable
@Environment(CLIENT) public class VertexBuffer extends Object implements AutoCloseable
- Mappings:
Namespace Name official dplintermediary net/minecraft/class_291named net/minecraft/client/gl/VertexBuffer
-
-
字段概要
字段 修饰符和类型 字段 说明 private VertexFormat.IntTypefield_27367private VertexFormat.DrawModefield_27368private booleanfield_27369private intfield_29338private VertexFormatfield_29339private intindexBufferIdprivate intvertexBufferIdprivate intvertexCount
-
构造器概要
构造器 构造器 说明 VertexBuffer()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidbind()voidclose()voidmethod_34427(Matrix4f matrix4f, Matrix4f matrix4f2, Shader shader)static voidmethod_34430()voidmethod_34431(Matrix4f matrix4f, Matrix4f matrix4f2, Shader shader)voidmethod_34432()VertexFormatmethod_34435()private voidmethod_34437()voidmethod_35665()CompletableFuture<Void>submitUpload(BufferBuilder buffer)static voidunbind()voidupload(BufferBuilder buffer)private voiduploadInternal(BufferBuilder buffer)
-
-
-
字段详细资料
-
vertexBufferId
private int vertexBufferId
- Mappings:
Namespace Name Mixin selector official aLdpl;a:Iintermediary field_1594Lnet/minecraft/class_291;field_1594:Inamed vertexBufferIdLnet/minecraft/client/gl/VertexBuffer;vertexBufferId:I
-
indexBufferId
private int indexBufferId
- Mappings:
Namespace Name Mixin selector official bLdpl;b:Iintermediary field_27366Lnet/minecraft/class_291;field_27366:Inamed indexBufferIdLnet/minecraft/client/gl/VertexBuffer;indexBufferId:I
-
field_27367
private VertexFormat.IntType field_27367
- Mappings:
Namespace Name Mixin selector official cLdpl;c:Ldpn$a;intermediary field_27367Lnet/minecraft/class_291;field_27367:Lnet/minecraft/class_293$class_5595;named field_27367Lnet/minecraft/client/gl/VertexBuffer;field_27367:Lnet/minecraft/client/render/VertexFormat$IntType;
-
field_29338
private int field_29338
- Mappings:
Namespace Name Mixin selector official dLdpl;d:Iintermediary field_29338Lnet/minecraft/class_291;field_29338:Inamed field_29338Lnet/minecraft/client/gl/VertexBuffer;field_29338:I
-
vertexCount
private int vertexCount
- Mappings:
Namespace Name Mixin selector official eLdpl;e:Iintermediary field_1593Lnet/minecraft/class_291;field_1593:Inamed vertexCountLnet/minecraft/client/gl/VertexBuffer;vertexCount:I
-
field_27368
private VertexFormat.DrawMode field_27368
- Mappings:
Namespace Name Mixin selector official fLdpl;f:Ldpn$b;intermediary field_27368Lnet/minecraft/class_291;field_27368:Lnet/minecraft/class_293$class_5596;named field_27368Lnet/minecraft/client/gl/VertexBuffer;field_27368:Lnet/minecraft/client/render/VertexFormat$DrawMode;
-
field_27369
private boolean field_27369
- Mappings:
Namespace Name Mixin selector official gLdpl;g:Zintermediary field_27369Lnet/minecraft/class_291;field_27369:Znamed field_27369Lnet/minecraft/client/gl/VertexBuffer;field_27369:Z
-
field_29339
private VertexFormat field_29339
- Mappings:
Namespace Name Mixin selector official hLdpl;h:Ldpn;intermediary field_29339Lnet/minecraft/class_291;field_29339:Lnet/minecraft/class_293;named field_29339Lnet/minecraft/client/gl/VertexBuffer;field_29339:Lnet/minecraft/client/render/VertexFormat;
-
-
方法详细资料
-
bind
public void bind()
- Mappings:
Namespace Name Mixin selector official aLdpl;a()Vintermediary method_1353Lnet/minecraft/class_291;method_1353()Vnamed bindLnet/minecraft/client/gl/VertexBuffer;bind()V
-
upload
public void upload(BufferBuilder buffer)
- Mappings:
Namespace Name Mixin selector official aLdpl;a(Ldpd;)Vintermediary method_1352Lnet/minecraft/class_291;method_1352(Lnet/minecraft/class_287;)Vnamed uploadLnet/minecraft/client/gl/VertexBuffer;upload(Lnet/minecraft/client/render/BufferBuilder;)V
-
submitUpload
public CompletableFuture<Void> submitUpload(BufferBuilder buffer)
- Mappings:
Namespace Name Mixin selector official bLdpl;b(Ldpd;)Ljava/util/concurrent/CompletableFuture;intermediary method_22643Lnet/minecraft/class_291;method_22643(Lnet/minecraft/class_287;)Ljava/util/concurrent/CompletableFuture;named submitUploadLnet/minecraft/client/gl/VertexBuffer;submitUpload(Lnet/minecraft/client/render/BufferBuilder;)Ljava/util/concurrent/CompletableFuture;
-
uploadInternal
private void uploadInternal(BufferBuilder buffer)
- Mappings:
Namespace Name Mixin selector official cLdpl;c(Ldpd;)Vintermediary method_22644Lnet/minecraft/class_291;method_22644(Lnet/minecraft/class_287;)Vnamed uploadInternalLnet/minecraft/client/gl/VertexBuffer;uploadInternal(Lnet/minecraft/client/render/BufferBuilder;)V
-
method_34437
private void method_34437()
- Mappings:
Namespace Name Mixin selector official gLdpl;g()Vintermediary method_34437Lnet/minecraft/class_291;method_34437()Vnamed method_34437Lnet/minecraft/client/gl/VertexBuffer;method_34437()V
-
method_34430
public static void method_34430()
- Mappings:
Namespace Name Mixin selector official bLdpl;b()Vintermediary method_34430Lnet/minecraft/class_291;method_34430()Vnamed method_34430Lnet/minecraft/client/gl/VertexBuffer;method_34430()V
-
method_35665
public void method_35665()
- Mappings:
Namespace Name Mixin selector official cLdpl;c()Vintermediary method_35665Lnet/minecraft/class_291;method_35665()Vnamed method_35665Lnet/minecraft/client/gl/VertexBuffer;method_35665()V
-
method_34427
public void method_34427(Matrix4f matrix4f, Matrix4f matrix4f2, Shader shader)
- Mappings:
Namespace Name Mixin selector official aLdpl;a(Ld;Ld;Leml;)Vintermediary method_34427Lnet/minecraft/class_291;method_34427(Lnet/minecraft/class_1159;Lnet/minecraft/class_1159;Lnet/minecraft/class_5944;)Vnamed method_34427Lnet/minecraft/client/gl/VertexBuffer;method_34427(Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/client/render/Shader;)V
-
method_34431
public void method_34431(Matrix4f matrix4f, Matrix4f matrix4f2, Shader shader)
- Mappings:
Namespace Name Mixin selector official bLdpl;b(Ld;Ld;Leml;)Vintermediary method_34431Lnet/minecraft/class_291;method_34431(Lnet/minecraft/class_1159;Lnet/minecraft/class_1159;Lnet/minecraft/class_5944;)Vnamed method_34431Lnet/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 dLdpl;d()Vintermediary method_34432Lnet/minecraft/class_291;method_34432()Vnamed method_34432Lnet/minecraft/client/gl/VertexBuffer;method_34432()V
-
unbind
public static void unbind()
- Mappings:
Namespace Name Mixin selector official eLdpl;e()Vintermediary method_1354Lnet/minecraft/class_291;method_1354()Vnamed unbindLnet/minecraft/client/gl/VertexBuffer;unbind()V
-
close
public void close()
- 指定者:
close在接口中AutoCloseable- Mappings:
Namespace Name Mixin selector official closeLdpl;close()Vintermediary closeLnet/minecraft/class_291;close()Vnamed closeLnet/minecraft/client/gl/VertexBuffer;close()V
-
method_34435
public VertexFormat method_34435()
- Mappings:
Namespace Name Mixin selector official fLdpl;f()Ldpn;intermediary method_34435Lnet/minecraft/class_291;method_34435()Lnet/minecraft/class_293;named method_34435Lnet/minecraft/client/gl/VertexBuffer;method_34435()Lnet/minecraft/client/render/VertexFormat;
-
-