@Environment(value=CLIENT) public class VertexFormat extends Object
Modifier and Type | Field and Description |
---|---|
private ImmutableList<VertexFormatElement> |
elements |
private it.unimi.dsi.fastutil.ints.IntList |
offsets |
private int |
size |
Constructor and Description |
---|
VertexFormat(ImmutableList<VertexFormatElement> immutableList) |
Modifier and Type | Method and Description |
---|---|
void |
endDrawing() |
boolean |
equals(Object o) |
ImmutableList<VertexFormatElement> |
getElements() |
int |
getVertexSize() |
int |
getVertexSizeInteger() |
int |
hashCode() |
void |
startDrawing(long pointer) |
String |
toString() |
private final ImmutableList<VertexFormatElement> elements
private final it.unimi.dsi.fastutil.ints.IntList offsets
private final int size
public VertexFormat(ImmutableList<VertexFormatElement> immutableList)
public int getVertexSizeInteger()
public int getVertexSize()
public ImmutableList<VertexFormatElement> getElements()
public void startDrawing(long pointer)
public void endDrawing()