Class OPEPacketFunc

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

public abstract class OPEPacketFunc extends Callback implements OPEPacketFuncI
Callback function: ope_packet_func
  • Method Details

    • create

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

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

      public static OPEPacketFunc create(OPEPacketFuncI instance)
      Creates a OPEPacketFunc instance that delegates to the specified OPEPacketFuncI instance.