Enum Class VeilDebug
- All Implemented Interfaces:
Serializable
,Comparable<VeilDebug>
,Constable
Provides access to debug functionality for all platforms.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract 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.static VeilDebug
get()
abstract void
objectLabel
(int identifier, int name, @Nullable CharSequence label) Labels a named object identified within a namespace.static VeilDebug
Returns the enum constant of this class with the specified name.static VeilDebug[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISABLED
-
ENABLED
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
debugMessageInsert
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 insertid
- the user-supplied identifier of the message to insertseverity
- the severity of the debug messages to insertmessage
- a character array containing the message to insert
-
objectLabel
Labels a named object identified within a namespace.- Parameters:
identifier
- the namespace from which the name of the object is allocatedname
- the name of the object to labellabel
- a string containing the label to assign to the object
-
get
- Returns:
- The best implementation of GL debug for this platform
-