Class SDL_NSTimerCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.sdl.SDL_NSTimerCallback
- All Implemented Interfaces:
AutoCloseable, SDL_NSTimerCallbackI, CallbackI, NativeResource, Pointer
Callback function:
SDL_NSTimerCallback-
Nested Class Summary
Nested classes/interfaces inherited from class Callback
Callback.DescriptorNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZEFields inherited from interface SDL_NSTimerCallbackI
DESCRIPTOR -
Method Summary
Modifier and TypeMethodDescriptionstatic SDL_NSTimerCallbackcreate(long functionPointer) Creates aSDL_NSTimerCallbackinstance from the specified function pointer.static SDL_NSTimerCallbackcreate(SDL_NSTimerCallbackI instance) Creates aSDL_NSTimerCallbackinstance that delegates to the specifiedSDL_NSTimerCallbackIinstance.static @Nullable SDL_NSTimerCallbackcreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface SDL_NSTimerCallbackI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aSDL_NSTimerCallbackinstance from the specified function pointer.- Returns:
- the new
SDL_NSTimerCallback
-
createSafe
-
create
Creates aSDL_NSTimerCallbackinstance that delegates to the specifiedSDL_NSTimerCallbackIinstance.
-