com.mojang.blaze3d.vertex

public class VertexFormat

fga
com.mojang.blaze3d.vertex.VertexFormat
net.minecraft.class_293
net.minecraft.client.render.VertexFormat

Field summary

Modifier and TypeField
public static final int
a
UNKNOWN_ELEMENT
field_52099
field_52099
private final List<VertexFormatElement>
b
elements
field_1602
elements
private final List<String>
c
names
field_52100
names
private final int
d
vertexSize
field_1600
vertexSizeByte
private final int
e
elementsMask
field_52101
requiredMask
private final int[]
f
offsetsByElement
field_52102
offsetsByElementId
private VertexBuffer
g
immediateDrawVertexBuffer
field_38984
buffer

Constructor summary

ModifierConstructor
(List<VertexFormatElement> elements, List<String> names, it.unimi.dsi.fastutil.ints.IntList offsets, int vertexSizeByte)

Method summary

Modifier and TypeMethod
public static VertexFormat$Builder
a()
builder()
method_60833()
builder()
public void
a(int arg0)
bindAttributes(int arg0)
method_62886(int arg0)
bindAttributes(int program)
public int
b()
getVertexSize()
method_1362()
getVertexSizeByte()
public List<VertexFormatElement>
c()
getElements()
method_1357()
getElements()
public List<String>
d()
getElementAttributeNames()
method_34445()
getAttributeNames()
public int[]
e()
getOffsetsByElement()
method_60838()
getOffsetsByElementId()
public int
a(fgb arg0)
getOffset(VertexFormatElement arg0)
method_60835(class_296 arg0)
getOffset(VertexFormatElement element)
public boolean
b(fgb arg0)
contains(VertexFormatElement arg0)
method_60836(class_296 arg0)
has(VertexFormatElement element)
public int
f()
getElementsMask()
method_60839()
getRequiredMask()
public String
c(fgb arg0)
getElementName(VertexFormatElement arg0)
method_60837(class_296 arg0)
getName(VertexFormatElement element)
public void
g()
setupBufferState()
method_22649()
setupState()
public void
h()
clearBufferState()
method_22651()
clearState()
public VertexBuffer
i()
getImmediateDrawVertexBuffer()
method_43446()
getBuffer()