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 class
VertexFormatElement.Type
static class
VertexFormatElement.Usage
-
Field Summary
Fields Modifier and Type Field Description private int
byteSize
private int
count
private int
index
private static org.apache.logging.log4j.Logger
LOGGER
private VertexFormatElement.Type
type
private VertexFormatElement.Usage
usage
-
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 void
clearBufferState()
boolean
equals(java.lang.Object p_equals_1_)
int
getByteSize()
int
getElementCount()
int
getIndex()
VertexFormatElement.Type
getType()
VertexFormatElement.Usage
getUsage()
int
hashCode()
void
setupBufferState(long p_227897_1_, int p_227897_3_)
private boolean
supportsUsage(int p_177372_1_, VertexFormatElement.Usage p_177372_2_)
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
getByteSize
public final int getByteSize()
-
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_227897_1_, int p_227897_3_)
-
clearBufferState
public void clearBufferState()
-
getElementCount
public int getElementCount()
-
-