Class VertexFormat
java.lang.Object
net.minecraft.client.renderer.vertex.VertexFormat
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList<VertexFormatElement>
private final it.unimi.dsi.fastutil.ints.IntList
private final int
-
Constructor Summary
ConstructorDescriptionVertexFormat
(com.google.common.collect.ImmutableList<VertexFormatElement> p_i225911_1_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
com.google.common.collect.ImmutableList<VertexFormatElement>
int
int
getOffset
(int index) int
boolean
hasColor()
int
hashCode()
boolean
boolean
boolean
hasUV
(int which) void
setupBufferState
(long p_227892_1_) toString()
-
Field Details
-
elements
-
offsets
private final it.unimi.dsi.fastutil.ints.IntList offsets -
vertexSize
private final int vertexSize
-
-
Constructor Details
-
VertexFormat
-
-
Method Details
-
toString
-
getIntegerSize
public int getIntegerSize() -
getVertexSize
public int getVertexSize() -
getElements
-
equals
-
hashCode
public int hashCode() -
setupBufferState
public void setupBufferState(long p_227892_1_) -
clearBufferState
public void clearBufferState() -
getOffset
public int getOffset(int index) -
hasPosition
public boolean hasPosition() -
hasNormal
public boolean hasNormal() -
hasColor
public boolean hasColor() -
hasUV
public boolean hasUV(int which)
-