com.mojang.blaze3d.vertex

public record VertexFormatElement

com.mojang.blaze3d.vertex.VertexFormatElement
com.mojang.blaze3d.vertex.VertexFormatElement
com.mojang.blaze3d.vertex.VertexFormatElement

Field summary

Modifier and TypeField
private final int
id
private final int
index
private final VertexFormatElement$Type
type
private final boolean
normalized
private final int
count
public static final int
MAX_COUNT
private static final VertexFormatElement[]
BY_ID
private static final List<VertexFormatElement>
ELEMENTS
public static final VertexFormatElement
POSITION
public static final VertexFormatElement
COLOR
public static final VertexFormatElement
UV0
public static final VertexFormatElement
UV
public static final VertexFormatElement
UV1
public static final VertexFormatElement
UV2
public static final VertexFormatElement
NORMAL
public static final VertexFormatElement
LINE_WIDTH

Constructor summary

ModifierConstructor
public (int id, int index, VertexFormatElement$Type type, boolean normalized, int count)

Method summary

Modifier and TypeMethod
public static VertexFormatElement
register(int id, int index, VertexFormatElement$Type type, boolean normalized, int count)
public int
mask()
public int
byteSize()
public static VertexFormatElement
byId(int id)
public static Stream<VertexFormatElement>
elementsFromMask(int mask)
public int
id()
public int
index()
public VertexFormatElement$Type
type()
public boolean
normalized()
public int
count()
private static boolean
lambda$elementsFromMask$0(int arg0, VertexFormatElement arg1)