Enum Class VeilDebug

java.lang.Object
java.lang.Enum<VeilDebug>
foundry.veil.api.client.render.ext.VeilDebug
All Implemented Interfaces:
Serializable, Comparable<VeilDebug>, Constable

public enum VeilDebug extends Enum<VeilDebug>
Provides access to debug functionality for all platforms.
  • Enum Constant Details

    • DISABLED

      public static final VeilDebug DISABLED
    • ENABLED

      public static final VeilDebug ENABLED
  • Method Details

    • values

      public static VeilDebug[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VeilDebug valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • debugMessageInsert

      public abstract void debugMessageInsert(int type, int id, int severity, CharSequence message)
      This function can be called by applications and third-party libraries to generate their own messages, such as ones containing timestamp information or signals about specific render system events.
      Parameters:
      type - the type of the debug message insert
      id - the user-supplied identifier of the message to insert
      severity - the severity of the debug messages to insert
      message - a character array containing the message to insert
    • objectLabel

      public abstract void objectLabel(int identifier, int name, @Nullable @Nullable CharSequence label)
      Labels a named object identified within a namespace.
      Parameters:
      identifier - the namespace from which the name of the object is allocated
      name - the name of the object to label
      label - a string containing the label to assign to the object
    • get

      public static VeilDebug get()
      Returns:
      The best implementation of GL debug for this platform