@FunctionalInterface
public interface EGLDebugMessageKHRCallbackI
extends org.lwjgl.system.CallbackI.V
DebugMessageControlKHR method.
void (*) (
EGLenum error,
char const *command,
EGLint messageType,
EGLLabelKHR threadLabel,
EGLLabelKHR objectLabel,
char const *message
)org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.N, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SIGNATURE |
| Modifier and Type | Method and Description |
|---|---|
default void |
callback(long args) |
default java.lang.String |
getSignature() |
void |
invoke(int error,
long command,
int messageType,
long threadLabel,
long objectLabel,
long message)
Will be called when a debug message is generated.
|
default java.lang.String getSignature()
getSignature in interface org.lwjgl.system.CallbackIdefault void callback(long args)
callback in interface org.lwjgl.system.CallbackI.Vvoid invoke(int error,
long command,
int messageType,
long threadLabel,
long objectLabel,
long message)
error - will contain an EGL error code, or SUCCESS, as applicablecommand - will contain a pointer to a string. Example "eglBindApi".messageType - will contain one of the debug message typesthreadLabel - will contain the label attached to the current thread. The threadLabel will be NULL if not set by the application. If the message is from an
internal thread, the label will be NULL.objectLabel - will contain the label attached to the primary object of the message; Labels will be NULL if not set by the application. The primary object should
be the object the function operates on, see table 13.2 which provides the recommended mapping between functions and their primary object. This
objectLabel may be NULL even though the application labeled the object. This is because it is possible an error was raised while executing
the command before the primary object was validated, therefore its label can not be included in the callback.message - will contain a platform specific debug string message; This string should provide added information to the application developer regarding the
condition that generated the message. The format of a message is implementation-defined, although it should represent a concise description of the
event that caused the message to be generated. Message strings can be NULL and should not be assumed otherwise.Copyright LWJGL. All Rights Reserved. License terms.