Package org.lwjgl.opencl
Class CLContextCallback
java.lang.Object
org.lwjgl.PointerWrapperAbstract
org.lwjgl.opencl.CLContextCallback
- All Implemented Interfaces:
PointerWrapper
Instances of this class can be used to receive OpenCL context error notifications.
- Author:
- Spasi
-
Field Summary
Fields inherited from class org.lwjgl.PointerWrapperAbstract
pointer
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
CLContextCallback
(long pointer) This constructor allows non-LWJGL implementations. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
handleMessage
(String errinfo, ByteBuffer private_info) The callback method.Methods inherited from class org.lwjgl.PointerWrapperAbstract
checkValid, equals, getPointer, hashCode, isValid, toString
-
Constructor Details
-
CLContextCallback
protected CLContextCallback() -
CLContextCallback
protected CLContextCallback(long pointer) This constructor allows non-LWJGL implementations.- Parameters:
pointer
-
-
-
Method Details
-
handleMessage
The callback method.- Parameters:
errinfo
- the error descriptionprivate_info
- optional error data (may be null)
-