com.mojang.blaze3d.vertex

public class VertexFormat$Builder

com.mojang.renderpearl.api.vertex.VertexFormat$Builder
net.minecraft.class_1_1232$class_1_1233
com.mojang.blaze3d.vertex.VertexFormat$Builder

Field summary

Modifier and TypeField
private final List<VertexFormatElement>
elements
field_1_8556
attributes
private int
offset
field_1_8557
vertexSize
private final int
stepRate
field_1_8558
divisor

Constructor summary

ModifierConstructor
private (int divisor)

Method summary

Modifier and TypeMethod
private void
createAttribute(String name, int offset, GpuFormat elementFormat)
method_1_7836(String arg0, int arg1, class_1_658 arg2)
addAttribute(String name, int offset, TexelFormat texelFormat)
private void
validateUniqueName(String name)
method_1_7837(String arg0)
assertNameAvailable(String name)
public VertexFormat$Builder
addAttribute(String name, GpuFormat elementFormat)
method_1_7833(String arg0, class_1_658 arg1)
attribute(String name, TexelFormat texelFormat)
public VertexFormat$Builder
addAttribute(String name, int stride, GpuFormat elementFormat)
method_1_7832(String arg0, int arg1, class_1_658 arg2)
attribute(String name, int size, TexelFormat texelFormat)
public VertexFormat$Builder
addAttribute(String name, GpuFormat elementFormat, int columnCount)
method_1_7834(String arg0, class_1_658 arg1, int arg2)
attributes(String name, TexelFormat texelFormat, int count)
public VertexFormat$Builder
addAttribute(String name, int offset, int stride, GpuFormat elementFormat, int columnCount)
method_1_7831(String arg0, int arg1, int arg2, class_1_658 arg3, int arg4)
attributes(String name, int firstOffset, int stride, TexelFormat texelFormat, int count)
public VertexFormat
build()
method_1_7835()
build()