Class CLProgramCallback

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.opencl.CLProgramCallback
All Implemented Interfaces:
AutoCloseable, CLProgramCallbackI, CallbackI, NativeResource, Pointer

public abstract class CLProgramCallback extends Callback implements CLProgramCallbackI
Callback function: (* anonymous)
  • Method Details

    • create

      public static CLProgramCallback create(long functionPointer)
      Creates a CLProgramCallback instance from the specified function pointer.
      Returns:
      the new CLProgramCallback
    • createSafe

      public static @Nullable CLProgramCallback createSafe(long functionPointer)
      Like create, but returns null if functionPointer is NULL.
    • create

      public static CLProgramCallback create(CLProgramCallbackI instance)
      Creates a CLProgramCallback instance that delegates to the specified CLProgramCallbackI instance.