Class CLEventCallback

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

public abstract class CLEventCallback extends Callback implements CLEventCallbackI
Callback function: (* anonymous)
  • Method Details

    • create

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

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

      public static CLEventCallback create(CLEventCallbackI instance)
      Creates a CLEventCallback instance that delegates to the specified CLEventCallbackI instance.