Package org.lwjgl.opencl
Interface CLContextCallbackI
-
- All Superinterfaces:
- CallbackI, CallbackI.V, Pointer
- All Known Implementing Classes:
- CLContextCallback
@FunctionalInterface public interface CLContextCallbackI extends CallbackI.V
Instances of this interface may be passed to theCreateContextandCreateContextFromTypemethods.
-
-
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(long errinfo, long private_info, long cb, long user_data)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(long errinfo, long private_info, long cb, long user_data)Will be called when a debug message is generated.- Parameters:
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 theprivate_infopointeruser_data- the user-specified value that was passed when callingCreateContextorCreateContextFromType
-
-