Class VertexFormat
java.lang.Object
com.mojang.blaze3d.vertex.VertexFormat
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String, VertexFormatElement> private final List<VertexFormatElement> static final intprivate final intprivate static final intprivate final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateVertexFormat(List<VertexFormatElement> elements, int vertexSize, int stepRate) -
Method Summary
Modifier and TypeMethodDescriptionstatic VertexFormat.Builderbuilder(int stepRate) booleanbooleangetElement(String attributeName) intintinthashCode()toString()
-
Field Details
-
VERTEX_ALIGNMENT
private static final int VERTEX_ALIGNMENT- See Also:
-
MAX_VERTEX_ELEMENTS
public static final int MAX_VERTEX_ELEMENTS- See Also:
-
elements
-
vertexSize
private final int vertexSize -
stepRate
private final int stepRate -
elementValues
-
-
Constructor Details
-
VertexFormat
-
-
Method Details
-
builder
-
toString
-
getVertexSize
public int getVertexSize() -
getStepRate
public int getStepRate() -
getElements
-
getElement
-
contains
-
equals
-
hashCode
-