GL43#glDebugMessageCallback and KHRDebug#glDebugMessageCallback methods.
void (*invoke) (
GLenum source,
GLenum type,
GLuint id,
GLenum severity,
GLsizei length,
GLchar const *message,
void const *userParam
)
| Modifier and Type | Method and Description |
|---|---|
| public default void | callback(long
a pointer to the memory used for the function's return value.
ret, long If the function is declared as returning Otherwise, the callback must fill the object to which this points, following the same special promotion behavior as
a vector of pointers to memory holding the arguments to the function args)Implements org. |
| public default FFICIF | getCallInterface()
Implements org. |
| public void | invoke(int
the message source source, int the message type type, int the message ID id, int the message severity severity, int the message length, excluding the null-terminator length, long a pointer to the message string representation message, long the user-specified value that was passed when calling userParam)GL43#glDebugMessageCallback or KHRDebug#glDebugMessageCallbackWill be called when a debug message is generated. |
| CIF | back to summary |
|---|---|
| public static final FFICIF CIF | |
| callback | back to summary |
|---|---|
| public default void callback(long ret, long args) Implements org. Doc from org. The Java method that will be called from native code when the native callback function is invoked.
| |
| getCallInterface | back to summary |
|---|---|
| public default FFICIF getCallInterface() Implements org. Doc from org. Returns the libffi Call Interface for this callback function. [INTERNAL API] | |
| invoke | back to summary |
|---|---|
| public void invoke(int source, int type, int id, int severity, int length, long message, long userParam) Will be called when a debug message is generated.
| |