Package org.lwjgl.stb
Interface STBIEOFCallbackI
-
- All Superinterfaces:
- CallbackI, CallbackI.I, Pointer
- All Known Implementing Classes:
- STBIEOFCallback
@FunctionalInterface public interface STBIEOFCallbackI extends CallbackI.I
Instances of this interface may be set to theeoffield of theSTBIIOCallbacksstruct.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default longaddress()Returns the raw pointer address as alongvalue.default intcallback(long args)Will be called by native code.intinvoke(long user)Thestbi_io_callbacks.eofcallback.
-
-
-
Method Detail
-
address
default long address()
Description copied from interface:PointerReturns the raw pointer address as alongvalue.
-
callback
default int callback(long args)
Description copied from interface:CallbackI.IWill be called by native code.- Specified by:
callbackin interfaceCallbackI.I- Parameters:
args- pointer to aDCArgsiterator- Returns:
- the value to store to the result
DCValue
-
invoke
int invoke(long user)
Thestbi_io_callbacks.eofcallback.- Parameters:
user- a pointer to user data- Returns:
- nonzero if we are at the end of file/data
-
-