com.mojang.blaze3d.vertex

public class VertexFormat$Builder

com.mojang.blaze3d.vertex.VertexFormat$Builder

Field summary

Modifier and TypeField
private final List<VertexFormatElement>
elements
private int
offset
private final int
stepRate

Constructor summary

ModifierConstructor
private (int stepRate)

Method summary

Modifier and TypeMethod
private void
createAttribute(String name, int offset, GpuFormat elementFormat)
private void
validateUniqueName(String name)
public VertexFormat$Builder
addAttribute(String name, GpuFormat elementFormat)
public VertexFormat$Builder
addAttribute(String name, int stride, GpuFormat elementFormat)
public VertexFormat$Builder
addAttribute(String name, GpuFormat elementFormat, int columnCount)
public VertexFormat$Builder
addAttribute(String name, int offset, int stride, GpuFormat elementFormat, int columnCount)
public VertexFormat
build()