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)
  • Method Details

    • create

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

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

      Creates a CLContextDestructorCallback instance that delegates to the specified CLContextDestructorCallbackI instance.