Package com.mojang.blaze3d.vertex
Class BufferUploader
java.lang.Object
com.mojang.blaze3d.vertex.BufferUploader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static VertexFormatprivate static intprivate static intprivate static int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void_end(ByteBuffer p_166839_, VertexFormat.Mode p_166840_, VertexFormat p_166841_, int p_166842_, VertexFormat.IndexType p_166843_, int p_166844_, boolean p_166845_)static void_endInternal(BufferBuilder p_166848_)static voidend(BufferBuilder p_85762_)static voidstatic voidreset()private static voidupdateVertexSetup(VertexFormat p_166837_)
-
Field Details
-
lastVertexArrayObject
private static int lastVertexArrayObject -
lastVertexBufferObject
private static int lastVertexBufferObject -
lastIndexBufferObject
private static int lastIndexBufferObject -
lastFormat
-
-
Constructor Details
-
BufferUploader
public BufferUploader()
-
-
Method Details
-
reset
public static void reset() -
invalidateElementArrayBufferBinding
public static void invalidateElementArrayBufferBinding() -
end
-
_end
private static void _end(ByteBuffer p_166839_, VertexFormat.Mode p_166840_, VertexFormat p_166841_, int p_166842_, VertexFormat.IndexType p_166843_, int p_166844_, boolean p_166845_) -
_endInternal
-
updateVertexSetup
-