com.mojang.blaze3d.vertex

public class VertexFormat$Builder

com.mojang.blaze3d.vertex.VertexFormat$Builder
com.mojang.blaze3d.vertex.VertexFormat$Builder

Field summary

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

Constructor summary

ModifierConstructor
private (int stepRate)

Method summary

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