Package net.minecraft.client.gl
Class VertexBuffer
java.lang.Object
net.minecraft.client.gl.VertexBuffer
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name official dxvintermediary net/minecraft/class_291named net/minecraft/client/gl/VertexBuffer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate VertexFormat.DrawModeprivate VertexFormat.IntTypeprivate RenderSystem.IndexBufferprivate intprivate intprivate intprivate intprivate @Nullable VertexFormat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind()voidclose()voidprivate voidinnerSetShader(Matrix4f viewMatrix, Matrix4f projectionMatrix, Shader shader) voidmethod_43441(BufferBuilder.DrawArrayParameters drawArrayParameters, ByteBuffer byteBuffer) private VertexFormatmethod_43442(BufferBuilder.DrawArrayParameters drawArrayParameters, ByteBuffer byteBuffer) private RenderSystem.IndexBuffermethod_43443(BufferBuilder.DrawArrayParameters drawArrayParameters, ByteBuffer byteBuffer) booleanprivate VertexFormat.IntTypevoidsubmitUpload(BufferBuilder buffer) static voidunbind()voidupload(BufferBuilder buffer) private voiduploadInternal(BufferBuilder bufferBuilder)
-
Field Details
-
vertexBufferId
private int vertexBufferId- Mappings:
Namespace Name Mixin selector official aLdxv;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 bLdxv;b:Iintermediary field_27366Lnet/minecraft/class_291;field_27366:Inamed indexBufferIdLnet/minecraft/client/gl/VertexBuffer;indexBufferId:I
-
vertexArrayId
private int vertexArrayId- Mappings:
Namespace Name Mixin selector official cLdxv;c:Iintermediary field_29338Lnet/minecraft/class_291;field_29338:Inamed vertexArrayIdLnet/minecraft/client/gl/VertexBuffer;vertexArrayId:I
-
vertexFormat
- Mappings:
Namespace Name Mixin selector official dLdxv;d:Ldxx;intermediary field_29339Lnet/minecraft/class_291;field_29339:Lnet/minecraft/class_293;named vertexFormatLnet/minecraft/client/gl/VertexBuffer;vertexFormat:Lnet/minecraft/client/render/VertexFormat;
-
field_38983
- Mappings:
Namespace Name Mixin selector official eLdxv;e:Lcom/mojang/blaze3d/systems/RenderSystem$a;intermediary field_38983Lnet/minecraft/class_291;field_38983:Lcom/mojang/blaze3d/systems/RenderSystem$class_5590;named field_38983Lnet/minecraft/client/gl/VertexBuffer;field_38983:Lcom/mojang/blaze3d/systems/RenderSystem$IndexBuffer;
-
elementFormat
- Mappings:
Namespace Name Mixin selector official fLdxv;f:Ldxx$a;intermediary field_27367Lnet/minecraft/class_291;field_27367:Lnet/minecraft/class_293$class_5595;named elementFormatLnet/minecraft/client/gl/VertexBuffer;elementFormat:Lnet/minecraft/client/render/VertexFormat$IntType;
-
vertexCount
private int vertexCount- Mappings:
Namespace Name Mixin selector official gLdxv;g:Iintermediary field_1593Lnet/minecraft/class_291;field_1593:Inamed vertexCountLnet/minecraft/client/gl/VertexBuffer;vertexCount:I
-
drawMode
- Mappings:
Namespace Name Mixin selector official hLdxv;h:Ldxx$b;intermediary field_27368Lnet/minecraft/class_291;field_27368:Lnet/minecraft/class_293$class_5596;named drawModeLnet/minecraft/client/gl/VertexBuffer;drawMode:Lnet/minecraft/client/render/VertexFormat$DrawMode;
-
-
Constructor Details
-
VertexBuffer
public VertexBuffer()
-
-
Method Details
-
submitUpload
- Mappings:
Namespace Name Mixin selector official aLdxv;a(Ldxn;)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
- Mappings:
Namespace Name Mixin selector official cLdxv;c(Ldxn;)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
-
upload
- Mappings:
Namespace Name Mixin selector official bLdxv;b(Ldxn;)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
-
method_43441
public void method_43441(BufferBuilder.DrawArrayParameters drawArrayParameters, ByteBuffer byteBuffer) - Mappings:
Namespace Name Mixin selector official aLdxv;a(Ldxn$a;Ljava/nio/ByteBuffer;)Vintermediary method_43441Lnet/minecraft/class_291;method_43441(Lnet/minecraft/class_287$class_4574;Ljava/nio/ByteBuffer;)Vnamed method_43441Lnet/minecraft/client/gl/VertexBuffer;method_43441(Lnet/minecraft/client/render/BufferBuilder$DrawArrayParameters;Ljava/nio/ByteBuffer;)V
-
method_43442
private VertexFormat method_43442(BufferBuilder.DrawArrayParameters drawArrayParameters, ByteBuffer byteBuffer) - Mappings:
Namespace Name Mixin selector official bLdxv;b(Ldxn$a;Ljava/nio/ByteBuffer;)Ldxx;intermediary method_43442Lnet/minecraft/class_291;method_43442(Lnet/minecraft/class_287$class_4574;Ljava/nio/ByteBuffer;)Lnet/minecraft/class_293;named method_43442Lnet/minecraft/client/gl/VertexBuffer;method_43442(Lnet/minecraft/client/render/BufferBuilder$DrawArrayParameters;Ljava/nio/ByteBuffer;)Lnet/minecraft/client/render/VertexFormat;
-
method_43443
@Nullable private RenderSystem.IndexBuffer method_43443(BufferBuilder.DrawArrayParameters drawArrayParameters, ByteBuffer byteBuffer) - Mappings:
Namespace Name Mixin selector official cLdxv;c(Ldxn$a;Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/systems/RenderSystem$a;intermediary method_43443Lnet/minecraft/class_291;method_43443(Lnet/minecraft/class_287$class_4574;Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/systems/RenderSystem$class_5590;named method_43443Lnet/minecraft/client/gl/VertexBuffer;method_43443(Lnet/minecraft/client/render/BufferBuilder$DrawArrayParameters;Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/systems/RenderSystem$IndexBuffer;
-
bind
public void bind()- Mappings:
Namespace Name Mixin selector official aLdxv;a()Vintermediary method_1353Lnet/minecraft/class_291;method_1353()Vnamed bindLnet/minecraft/client/gl/VertexBuffer;bind()V
-
unbind
public static void unbind()- Mappings:
Namespace Name Mixin selector official bLdxv;b()Vintermediary method_1354Lnet/minecraft/class_291;method_1354()Vnamed unbindLnet/minecraft/client/gl/VertexBuffer;unbind()V
-
drawElements
public void drawElements()- Mappings:
Namespace Name Mixin selector official cLdxv;c()Vintermediary method_35665Lnet/minecraft/class_291;method_35665()Vnamed drawElementsLnet/minecraft/client/gl/VertexBuffer;drawElements()V
-
method_43445
- Mappings:
Namespace Name Mixin selector official fLdxv;f()Ldxx$a;intermediary method_43445Lnet/minecraft/class_291;method_43445()Lnet/minecraft/class_293$class_5595;named method_43445Lnet/minecraft/client/gl/VertexBuffer;method_43445()Lnet/minecraft/client/render/VertexFormat$IntType;
-
setShader
- Mappings:
Namespace Name Mixin selector official aLdxv;a(Ld;Ld;Levy;)Vintermediary method_34427Lnet/minecraft/class_291;method_34427(Lnet/minecraft/class_1159;Lnet/minecraft/class_1159;Lnet/minecraft/class_5944;)Vnamed setShaderLnet/minecraft/client/gl/VertexBuffer;setShader(Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/client/render/Shader;)V
-
innerSetShader
- Mappings:
Namespace Name Mixin selector official bLdxv;b(Ld;Ld;Levy;)Vintermediary method_34431Lnet/minecraft/class_291;method_34431(Lnet/minecraft/class_1159;Lnet/minecraft/class_1159;Lnet/minecraft/class_5944;)Vnamed innerSetShaderLnet/minecraft/client/gl/VertexBuffer;innerSetShader(Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/client/render/Shader;)V
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
getVertexFormat
- Mappings:
Namespace Name Mixin selector official dLdxv;d()Ldxx;intermediary method_34435Lnet/minecraft/class_291;method_34435()Lnet/minecraft/class_293;named getVertexFormatLnet/minecraft/client/gl/VertexBuffer;getVertexFormat()Lnet/minecraft/client/render/VertexFormat;
-
method_43444
public boolean method_43444()- Mappings:
Namespace Name Mixin selector official eLdxv;e()Zintermediary method_43444Lnet/minecraft/class_291;method_43444()Znamed method_43444Lnet/minecraft/client/gl/VertexBuffer;method_43444()Z
-