Package foundry.veil.api.client.render
Class VeilVertexFormat
java.lang.Object
foundry.veil.api.client.render.VeilVertexFormat
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.blaze3d.vertex.VertexFormatElement
static final com.mojang.blaze3d.vertex.VertexFormat
static final com.mojang.blaze3d.vertex.VertexFormat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.blaze3d.vertex.VertexFormatElement
register
(int index, com.mojang.blaze3d.vertex.VertexFormatElement.Type type, com.mojang.blaze3d.vertex.VertexFormatElement.Usage usage, int count) Registers a new vertex format element by assigning it to the next open ID, expanding the array if necessary.
-
Field Details
-
BONE_INDEX
public static final com.mojang.blaze3d.vertex.VertexFormatElement BONE_INDEX -
SKINNED_MESH
public static final com.mojang.blaze3d.vertex.VertexFormat SKINNED_MESH -
QUASAR_PARTICLE
public static final com.mojang.blaze3d.vertex.VertexFormat QUASAR_PARTICLE
-
-
Constructor Details
-
VeilVertexFormat
public VeilVertexFormat()
-
-
Method Details
-
register
public static com.mojang.blaze3d.vertex.VertexFormatElement register(int index, com.mojang.blaze3d.vertex.VertexFormatElement.Type type, com.mojang.blaze3d.vertex.VertexFormatElement.Usage usage, int count) Registers a new vertex format element by assigning it to the next open ID, expanding the array if necessary.- Parameters:
index
- The index of the elementtype
- The type of data to storeusage
- The way the element is usedcount
- The number of components- Returns:
- A new element
-