Class CLContextCallback

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

public abstract class CLContextCallback extends Callback implements CLContextCallbackI
Callback function: (* anonymous)
  • Method Details

    • create

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

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

      public static CLContextCallback create(CLContextCallbackI instance)
      Creates a CLContextCallback instance that delegates to the specified CLContextCallbackI instance.