Class OPReadFunc

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

public abstract class OPReadFunc extends Callback implements OPReadFuncI
Callback function: op_read_func
  • Method Details

    • create

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

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

      public static OPReadFunc create(OPReadFuncI instance)
      Creates a OPReadFunc instance that delegates to the specified OPReadFuncI instance.