Class VeilVertexFormat

java.lang.Object
foundry.veil.api.client.render.VeilVertexFormat

public class VeilVertexFormat extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.blaze3d.vertex.VertexFormatElement
     
    static final com.mojang.blaze3d.vertex.VertexFormat
     
    static final com.mojang.blaze3d.vertex.VertexFormat
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 element
      type - The type of data to store
      usage - The way the element is used
      count - The number of components
      Returns:
      A new element