Package org.lwjgl.opencl
Class CLProgramReleaseCallback
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.opencl.CLProgramReleaseCallback
-
- All Implemented Interfaces:
java.lang.AutoCloseable,CLProgramReleaseCallbackI,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public abstract class CLProgramReleaseCallback extends org.lwjgl.system.Callback implements CLProgramReleaseCallbackI
Instances of this class may be passed to theSetProgramReleaseCallbackmethod.Type
void (*CLProgramReleaseCallbackI.invoke(long, long)) ( cl_program program, void *user_data )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.opencl.CLProgramReleaseCallbackI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CLProgramReleaseCallbackcreate(long functionPointer)Creates aCLProgramReleaseCallbackinstance from the specified function pointer.static CLProgramReleaseCallbackcreate(CLProgramReleaseCallbackI instance)Creates aCLProgramReleaseCallbackinstance that delegates to the specifiedCLProgramReleaseCallbackIinstance.static CLProgramReleaseCallbackcreateSafe(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.CLProgramReleaseCallbackI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static CLProgramReleaseCallback create(long functionPointer)
Creates aCLProgramReleaseCallbackinstance from the specified function pointer.- Returns:
- the new
CLProgramReleaseCallback
-
createSafe
@Nullable public static CLProgramReleaseCallback createSafe(long functionPointer)
-
create
public static CLProgramReleaseCallback create(CLProgramReleaseCallbackI instance)
Creates aCLProgramReleaseCallbackinstance that delegates to the specifiedCLProgramReleaseCallbackIinstance.
-
-