Package net.minecraft.client.render
Class VertexFormatElement
java.lang.Object
net.minecraft.client.render.VertexFormatElement
@Environment(CLIENT) public class VertexFormatElement extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVertexFormatElement.Formatstatic classVertexFormatElement.Type -
Field Summary
Fields Modifier and Type Field Description private intcountprivate VertexFormatElement.Formatformatprivate intindexprivate static LoggerLOGGERprivate intsizeprivate VertexFormatElement.Typetype -
Constructor Summary
Constructors Constructor Description VertexFormatElement(int index, VertexFormatElement.Format format, VertexFormatElement.Type type, int count) -
Method Summary
Modifier and Type Method Description voidendDrawing()booleanequals(Object o)VertexFormatElement.FormatgetFormat()intgetIndex()intgetSize()VertexFormatElement.TypegetType()inthashCode()private booleanisValidType(int index, VertexFormatElement.Type type)voidstartDrawing(long pointer, int stride)StringtoString()
-
Field Details
-
LOGGER
-
format
-
type
-
index
private final int index -
count
private final int count -
size
private final int size
-
-
Constructor Details
-
VertexFormatElement
public VertexFormatElement(int index, VertexFormatElement.Format format, VertexFormatElement.Type type, int count)
-
-
Method Details
-
isValidType
-
getFormat
-
getType
-
getIndex
public final int getIndex() -
toString
-
getSize
public final int getSize() -
equals
-
hashCode
public int hashCode() -
startDrawing
public void startDrawing(long pointer, int stride) -
endDrawing
public void endDrawing()
-