public class VertexFormat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableList<VertexFormatElement> |
elements |
private it.unimi.dsi.fastutil.ints.IntList |
offsets |
private int |
vertexSize |
Constructor and Description |
---|
VertexFormat(com.google.common.collect.ImmutableList<VertexFormatElement> p_i225911_1_) |
Modifier and Type | Method and Description |
---|---|
void |
clearBufferState() |
boolean |
equals(java.lang.Object p_equals_1_) |
com.google.common.collect.ImmutableList<VertexFormatElement> |
getElements() |
int |
getIntegerSize() |
int |
getOffset(int index) |
int |
getVertexSize() |
boolean |
hasColor() |
int |
hashCode() |
boolean |
hasNormal() |
boolean |
hasPosition() |
boolean |
hasUV(int which) |
void |
setupBufferState(long p_227892_1_) |
java.lang.String |
toString() |
private final com.google.common.collect.ImmutableList<VertexFormatElement> elements
private final it.unimi.dsi.fastutil.ints.IntList offsets
private final int vertexSize
public VertexFormat(com.google.common.collect.ImmutableList<VertexFormatElement> p_i225911_1_)
public java.lang.String toString()
toString
in class java.lang.Object
public int getIntegerSize()
public int getVertexSize()
public com.google.common.collect.ImmutableList<VertexFormatElement> getElements()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setupBufferState(long p_227892_1_)
public void clearBufferState()
public int getOffset(int index)
public boolean hasPosition()
public boolean hasNormal()
public boolean hasColor()
public boolean hasUV(int which)