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>
elements
private it.unimi.dsi.fastutil.ints.IntList
offsets
private int
vertexSize
-
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 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()
-
-
-
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:
toString
in 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in 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)
-
-