Class VertexFormatElement
- java.lang.Object
-
- net.minecraft.client.renderer.vertex.VertexFormatElement
-
public class VertexFormatElement extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVertexFormatElement.Typestatic classVertexFormatElement.Usage
-
Field Summary
Fields Modifier and Type Field Description private intbyteSizeprivate intcountprivate intindexprivate static org.apache.logging.log4j.LoggerLOGGERprivate VertexFormatElement.Typetypeprivate VertexFormatElement.Usageusage
-
Constructor Summary
Constructors Constructor Description VertexFormatElement(int p_i46096_1_, VertexFormatElement.Type p_i46096_2_, VertexFormatElement.Usage p_i46096_3_, int p_i46096_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearBufferState()booleanequals(java.lang.Object p_equals_1_)intgetByteSize()intgetElementCount()intgetIndex()VertexFormatElement.TypegetType()VertexFormatElement.UsagegetUsage()inthashCode()voidsetupBufferState(long p_227897_1_, int p_227897_3_)private booleansupportsUsage(int p_177372_1_, VertexFormatElement.Usage p_177372_2_)java.lang.StringtoString()
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
type
private final VertexFormatElement.Type type
-
usage
private final VertexFormatElement.Usage usage
-
index
private final int index
-
count
private final int count
-
byteSize
private final int byteSize
-
-
Constructor Detail
-
VertexFormatElement
public VertexFormatElement(int p_i46096_1_, VertexFormatElement.Type p_i46096_2_, VertexFormatElement.Usage p_i46096_3_, int p_i46096_4_)
-
-
Method Detail
-
supportsUsage
private boolean supportsUsage(int p_177372_1_, VertexFormatElement.Usage p_177372_2_)
-
getType
public final VertexFormatElement.Type getType()
-
getUsage
public final VertexFormatElement.Usage getUsage()
-
getIndex
public final int getIndex()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getByteSize
public final int getByteSize()
-
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_227897_1_, int p_227897_3_)
-
clearBufferState
public void clearBufferState()
-
getElementCount
public int getElementCount()
-
-