Package org.lwjgl.egl
Interface EGLDebugMessageKHRCallbackI
-
- All Superinterfaces:
- CallbackI, CallbackI.V, Pointer
- All Known Implementing Classes:
- EGLDebugMessageKHRCallback
@FunctionalInterface public interface EGLDebugMessageKHRCallbackI extends CallbackI.V
Instances of this interface may be passed to theDebugMessageControlKHRmethod.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default longaddress()Returns the raw pointer address as alongvalue.default voidcallback(long args)Will be called by native code.voidinvoke(int error, long command, int messageType, long threadLabel, long objectLabel, long message)Will be called when a debug message is generated.
-
-
-
Method Detail
-
address
default long address()
Description copied from interface:PointerReturns the raw pointer address as alongvalue.
-
callback
default void callback(long args)
Description copied from interface:CallbackI.VWill be called by native code.- Specified by:
callbackin interfaceCallbackI.V- Parameters:
args- pointer to aDCArgsiterator
-
invoke
void invoke(int error, long command, int messageType, long threadLabel, long objectLabel, long message)Will be called when a debug message is generated.- Parameters:
error- will contain an EGL error code, orSUCCESS, 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. ThethreadLabelwill beNULLif not set by the application. If the message is from an internal thread, the label will beNULL.objectLabel- will contain the label attached to the primary object of the message; Labels will beNULLif 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. ThisobjectLabelmay beNULLeven 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 beNULLand should not be assumed otherwise.
-
-