com.mojang.blaze3d.vertex

public class VertexFormat

fbn
com.mojang.blaze3d.vertex.VertexFormat
net.minecraft.class_293
net.minecraft.client.render.VertexFormat
net.minecraft.src.C_3188_

Field summary

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

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()
m_339703_()
public int
b()
getVertexSize()
method_1362()
getVertexSizeByte()
m_86020_()
public List<VertexFormatElement>
c()
getElements()
method_1357()
getElements()
m_86023_()
public List<String>
d()
getElementAttributeNames()
method_34445()
getAttributeNames()
m_166911_()
public int[]
e()
getOffsetsByElement()
method_60838()
getOffsetsByElementId()
m_338562_()
public int
a(fbo arg0)
getOffset(VertexFormatElement arg0)
method_60835(class_296 arg0)
getOffset(VertexFormatElement element)
m_338798_(C_3189_ arg0)
public boolean
b(fbo arg0)
contains(VertexFormatElement arg0)
method_60836(class_296 arg0)
has(VertexFormatElement element)
m_339292_(C_3189_ arg0)
public int
f()
getElementsMask()
method_60839()
getRequiredMask()
m_340128_()
public String
c(fbo arg0)
getElementName(VertexFormatElement arg0)
method_60837(class_296 arg0)
getName(VertexFormatElement element)
m_340604_(C_3189_ arg0)
public void
g()
setupBufferState()
method_22649()
setupState()
m_166912_()
private void
j()
_setupBufferState()
method_34449()
setupStateInternal()
m_166916_()
public void
h()
clearBufferState()
method_22651()
clearState()
m_86024_()
private void
k()
_clearBufferState()
method_34450()
clearStateInternal()
m_166917_()
public VertexBuffer
i()
getImmediateDrawVertexBuffer()
method_43446()
getBuffer()
m_231233_()