Package org.lwjgl.sdl
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 interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZEFields inherited from interface org.lwjgl.sdl.SDL_MainThreadCallbackI
CIF -
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 class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
closeMethods inherited from interface org.lwjgl.sdl.SDL_MainThreadCallbackI
callback, getCallInterface, 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.
-