com.mojang.blaze3d.vertex

public record VertexFormatElement

fgb
com.mojang.blaze3d.vertex.VertexFormatElement
net.minecraft.class_296
net.minecraft.client.render.VertexFormatElement

Field summary

Modifier and TypeField
private final int
i
id
comp_2842
id
private final int
j
index
comp_2843
uvIndex
private final VertexFormatElement$Type
k
type
comp_2844
type
private final VertexFormatElement$Usage
l
usage
comp_2845
usage
private final int
m
count
comp_2846
count
public static final int
a
MAX_COUNT
field_52106
field_52106
private static final VertexFormatElement[]
n
BY_ID
field_52114
ELEMENTS
private static final List<VertexFormatElement>
o
ELEMENTS
field_52115
ELEMENTS_LIST
public static final VertexFormatElement
b
POSITION
field_52107
POSITION
public static final VertexFormatElement
c
COLOR
field_52108
COLOR
public static final VertexFormatElement
d
UV0
field_52109
UV_0
public static final VertexFormatElement
e
UV
field_52110
UV
public static final VertexFormatElement
f
UV1
field_52111
UV_1
public static final VertexFormatElement
g
UV2
field_52112
UV_2
public static final VertexFormatElement
h
NORMAL
field_52113
NORMAL

Constructor summary

ModifierConstructor
public (int uvIndex, int arg1, VertexFormatElement$Type arg2, VertexFormatElement$Usage arg3, int arg4)

Method summary

Modifier and TypeMethod
public static VertexFormatElement
a(int arg0, int arg1, fgb$a arg2, fgb$b arg3, int arg4)
register(int arg0, int arg1, VertexFormatElement$Type arg2, VertexFormatElement$Usage arg3, int arg4)
method_60845(int arg0, int arg1, class_296$class_297 arg2, class_296$class_298 arg3, int arg4)
register(int id, int uvIndex, VertexFormatElement$ComponentType type, VertexFormatElement$Usage usage, int count)
private boolean
a(int arg0, fgb$b arg1)
supportsUsage(int arg0, VertexFormatElement$Usage arg1)
method_1383(int arg0, class_296$class_298 arg1)
isValidType(int uvIndex, VertexFormatElement$Usage type)
public int
a()
mask()
method_60843()
getBit()
public int
b()
byteSize()
method_60847()
getSizeInBytes()
public void
a(int arg0, long arg1, int arg2)
setupBufferState(int arg0, long arg1, int arg2)
method_22652(int arg0, long arg1, int arg2)
setupState(int elementIndex, long offset, int stride)
public static VertexFormatElement
a(int arg0)
byId(int arg0)
method_60844(int arg0)
get(int id)
public static Stream<VertexFormatElement>
b(int arg0)
elementsFromMask(int arg0)
method_60848(int arg0)
streamFromMask(int mask)
public int
c()
id()
comp_2842()
id()
public int
d()
index()
comp_2843()
uvIndex()
public VertexFormatElement$Type
e()
type()
comp_2844()
type()
public VertexFormatElement$Usage
f()
usage()
comp_2845()
usage()
public int
g()
count()
comp_2846()
count()