com.mojang.blaze3d.vertex

public class VertexFormat

flu
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 GpuBuffer
g
immediateDrawVertexBuffer
field_38984
vertexBuffer
private GpuBuffer
h
immediateDrawIndexBuffer
field_57915
indexBuffer

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 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(flv arg0)
getOffset(VertexFormatElement arg0)
method_60835(class_296 arg0)
getOffset(VertexFormatElement element)
public boolean
b(flv arg0)
contains(VertexFormatElement arg0)
method_60836(class_296 arg0)
has(VertexFormatElement element)
public int
f()
getElementsMask()
method_60839()
getRequiredMask()
public String
c(flv arg0)
getElementName(VertexFormatElement arg0)
method_60837(class_296 arg0)
getName(VertexFormatElement element)
public GpuBuffer
a(ByteBuffer arg0)
uploadImmediateVertexBuffer(ByteBuffer arg0)
method_68460(ByteBuffer arg0)
uploadVertices(ByteBuffer buffer)
public GpuBuffer
b(ByteBuffer arg0)
uploadImmediateIndexBuffer(ByteBuffer arg0)
method_68461(ByteBuffer arg0)
uploadIndex(ByteBuffer buffer)