com.mojang.blaze3d.vertex

public class VertexFormat

com.mojang.renderpearl.api.vertex.VertexFormat
net.minecraft.class_1_1232
com.mojang.blaze3d.vertex.VertexFormat

Field summary

Modifier and TypeField
private static final int
VERTEX_ALIGNMENT
field_1_8551
MIN_VERTEX_ALIGNMENT
public static final int
MAX_VERTEX_ELEMENTS
field_1_8550
MAX_ATTRIBUTES
private final Map<String, VertexFormatElement>
elements
field_1_8553
attributesByName
private final int
vertexSize
field_1_8555
vertexSize
private final int
stepRate
field_1_8554
divisor
private final List<VertexFormatElement>
elementValues
field_1_8552
attributes

Constructor summary

ModifierConstructor
private (List<VertexFormatElement> attributes, int vertexSize, int divisor)

Method summary

Modifier and TypeMethod
public static VertexFormat$Builder
builder(int stepRate)
method_1_7825(int arg0)
builder(int divisor)
public int
getVertexSize()
method_1_7830()
getVertexSize()
public int
getStepRate()
method_1_7829()
getDivisor()
public List<VertexFormatElement>
getElements()
method_1_7828()
numVertexAttributes()
public VertexFormatElement
getElement(String attributeName)
method_1_7827(String arg0)
getAttribute(String name)
public boolean
contains(String attributeName)
method_1_7826(String arg0)
hasAttribute(String name)