@FunctionalInterface
public interface CLContextCallbackI
extends org.lwjgl.system.CallbackI.V
CreateContext and CreateContextFromType methods.
void (*) (
cl_char const *errinfo,
void const *private_info,
size_t cb,
void *user_data
)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(long errinfo,
long private_info,
long cb,
long user_data)
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(long errinfo,
long private_info,
long cb,
long user_data)
errinfo - a pointer to the message string representationprivate_info - a pointer to binary data that is returned by the OpenCL implementation that can be used to log additional information helpful in debugging the errorcb - the number of bytes in the private_info pointeruser_data - the user-specified value that was passed when calling CreateContext or CreateContextFromTypeCopyright LWJGL. All Rights Reserved. License terms.