Class SDL_MainThreadCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.sdl.SDL_MainThreadCallback
- All Implemented Interfaces:
AutoCloseable, SDL_MainThreadCallbackI, CallbackI, NativeResource, Pointer
Callback function:
SDL_MainThreadCallback-
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_MainThreadCallbackI
DESCRIPTOR -
Method Summary
Modifier and TypeMethodDescriptionstatic SDL_MainThreadCallbackcreate(long functionPointer) Creates aSDL_MainThreadCallbackinstance from the specified function pointer.static SDL_MainThreadCallbackcreate(SDL_MainThreadCallbackI instance) Creates aSDL_MainThreadCallbackinstance that delegates to the specifiedSDL_MainThreadCallbackIinstance.static @Nullable SDL_MainThreadCallbackcreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface SDL_MainThreadCallbackI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aSDL_MainThreadCallbackinstance from the specified function pointer.- Returns:
- the new
SDL_MainThreadCallback
-
createSafe
-
create
Creates aSDL_MainThreadCallbackinstance that delegates to the specifiedSDL_MainThreadCallbackIinstance.
-