com.mojang.blaze3d.vertex

public record VertexFormatElement

com.mojang.blaze3d.vertex.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
id
private final int
index
index
private final VertexFormatElement$Type
type
type
private final boolean
normalized
normalized
private final int
count
count
public static final int
MAX_COUNT
MAX_COUNT
private static final VertexFormatElement[]
BY_ID
BY_ID
private static final List<VertexFormatElement>
ELEMENTS
ELEMENTS
public static final VertexFormatElement
POSITION
POSITION
public static final VertexFormatElement
COLOR
COLOR
public static final VertexFormatElement
UV0
UV0
public static final VertexFormatElement
UV
UV
public static final VertexFormatElement
UV1
UV1
public static final VertexFormatElement
UV2
UV2
public static final VertexFormatElement
NORMAL
NORMAL
public static final VertexFormatElement
LINE_WIDTH
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)
register(int id, int index, VertexFormatElement$Type type, boolean normalized, int count)
public int
mask()
mask()
public int
byteSize()
byteSize()
public static VertexFormatElement
byId(int id)
byId(int id)
public static Stream<VertexFormatElement>
elementsFromMask(int mask)
elementsFromMask(int mask)
public int
id()
id()
public int
index()
index()
public VertexFormatElement$Type
type()
type()
public boolean
normalized()
normalized()
public int
count()
count()