Class OPCloseFunc

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.opus.OPCloseFunc
All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, OPCloseFuncI

public abstract class OPCloseFunc extends Callback implements OPCloseFuncI
Callback function: op_close_func
  • Method Details

    • create

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

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

      public static OPCloseFunc create(OPCloseFuncI instance)
      Creates a OPCloseFunc instance that delegates to the specified OPCloseFuncI instance.