Package org.lwjgl.opencl
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 interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.opencl.CLContextDestructorCallbackI
CIF
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionstatic CLContextDestructorCallback
create
(long functionPointer) Creates aCLContextDestructorCallback
instance from the specified function pointer.static CLContextDestructorCallback
create
(CLContextDestructorCallbackI instance) Creates aCLContextDestructorCallback
instance that delegates to the specifiedCLContextDestructorCallbackI
instance.static @Nullable CLContextDestructorCallback
createSafe
(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from interface org.lwjgl.opencl.CLContextDestructorCallbackI
callback, getCallInterface, invoke
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aCLContextDestructorCallback
instance from the specified function pointer.- Returns:
- the new
CLContextDestructorCallback
-
createSafe
-
create
Creates aCLContextDestructorCallback
instance that delegates to the specifiedCLContextDestructorCallbackI
instance.
-