Package org.lwjgl.stb

Class STBIEOFCallback

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.stb.STBIEOFCallback
All Implemented Interfaces:
AutoCloseable, STBIEOFCallbackI, CallbackI, NativeResource, Pointer

public abstract class STBIEOFCallback extends Callback implements STBIEOFCallbackI
Instances of this class may be set to the eof field of the STBIIOCallbacks struct.

Type


 int (*STBIEOFCallbackI.invoke(long)) (
     void *user
 )
  • Method Details

    • create

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

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

      public static STBIEOFCallback create(STBIEOFCallbackI instance)
      Creates a STBIEOFCallback instance that delegates to the specified STBIEOFCallbackI instance.