Package net.minecraft.client.render
Class VertexFormat
java.lang.Object
net.minecraft.client.render.VertexFormat
@Environment(CLIENT) public class VertexFormat extends Object
-
Field Summary
Fields Modifier and Type Field Description private ImmutableList<VertexFormatElement>
elements
private IntList
offsets
private int
size
-
Constructor Summary
Constructors Constructor Description VertexFormat(ImmutableList<VertexFormatElement> immutableList)
-
Method Summary
Modifier and Type Method Description void
endDrawing()
boolean
equals(Object o)
ImmutableList<VertexFormatElement>
getElements()
int
getVertexSize()
int
getVertexSizeInteger()
int
hashCode()
void
startDrawing(long pointer)
String
toString()
-
Field Details
-
elements
-
offsets
-
size
private final int size
-
-
Constructor Details
-
VertexFormat
-
-
Method Details
-
toString
-
getVertexSizeInteger
public int getVertexSizeInteger() -
getVertexSize
public int getVertexSize() -
getElements
-
equals
-
hashCode
public int hashCode() -
startDrawing
public void startDrawing(long pointer) -
endDrawing
public void endDrawing()
-