Class CLContextDestructorCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.opencl.CLContextDestructorCallback
- All Implemented Interfaces:
AutoCloseable, CLContextDestructorCallbackI, CallbackI, NativeResource, Pointer
public abstract class CLContextDestructorCallback
extends Callback
implements CLContextDestructorCallbackI
Callback function:
(* anonymous)-
Nested Class Summary
Nested classes/interfaces inherited from class Callback
Callback.DescriptorNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface CLContextDestructorCallbackI
DESCRIPTORFields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic CLContextDestructorCallbackcreate(long functionPointer) Creates aCLContextDestructorCallbackinstance from the specified function pointer.static CLContextDestructorCallbackcreate(CLContextDestructorCallbackI instance) Creates aCLContextDestructorCallbackinstance that delegates to the specifiedCLContextDestructorCallbackIinstance.static @Nullable CLContextDestructorCallbackcreateSafe(long functionPointer) Methods inherited from interface CLContextDestructorCallbackI
callback, getDescriptor, invokeMethods inherited from interface NativeResource
close
-
Method Details
-
create
Creates aCLContextDestructorCallbackinstance from the specified function pointer.- Returns:
- the new
CLContextDestructorCallback
-
createSafe
-
create
Creates aCLContextDestructorCallbackinstance that delegates to the specifiedCLContextDestructorCallbackIinstance.
-