Class VertexFormat
- java.lang.Object
-
- net.minecraft.client.renderer.vertex.VertexFormat
-
public class VertexFormat extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.common.collect.ImmutableList<VertexFormatElement>elementsprivate it.unimi.dsi.fastutil.ints.IntListoffsetsprivate intvertexSize
-
Constructor Summary
Constructors Constructor Description VertexFormat(com.google.common.collect.ImmutableList<VertexFormatElement> p_i225911_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearBufferState()booleanequals(java.lang.Object p_equals_1_)com.google.common.collect.ImmutableList<VertexFormatElement>getElements()intgetIntegerSize()intgetOffset(int index)intgetVertexSize()booleanhasColor()inthashCode()booleanhasNormal()booleanhasPosition()booleanhasUV(int which)voidsetupBufferState(long p_227892_1_)java.lang.StringtoString()
-
-
-
Field Detail
-
elements
private final com.google.common.collect.ImmutableList<VertexFormatElement> elements
-
offsets
private final it.unimi.dsi.fastutil.ints.IntList offsets
-
vertexSize
private final int vertexSize
-
-
Constructor Detail
-
VertexFormat
public VertexFormat(com.google.common.collect.ImmutableList<VertexFormatElement> p_i225911_1_)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getIntegerSize
public int getIntegerSize()
-
getVertexSize
public int getVertexSize()
-
getElements
public com.google.common.collect.ImmutableList<VertexFormatElement> getElements()
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
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)
-
-