Class SDLMain
java.lang.Object
org.lwjgl.sdl.SDLMain
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromSDL.getLibrary(). -
Method Summary
Modifier and TypeMethodDescriptionstatic intnSDL_EnterAppMainCallbacks(int argc, long argv, long appinit, long appiter, long appevent, long appquit) int SDL_EnterAppMainCallbacks(int argc, char ** argv, SDL_AppInit_func appinit, SDL_AppIterate_func appiter, SDL_AppEvent_func appevent, SDL_AppQuit_func appquit)static intnSDL_RunApp(int argc, long argv, long mainFunction, long reserved) int SDL_RunApp(int argc, char ** argv, SDL_main_func mainFunction, void * reserved)static booleannSDL_SDL_RegisterApp(long name, int style, long hInst) bool SDL_SDL_RegisterApp(char * name, Uint32 style, HINSTANCE hInst)static intSDL_EnterAppMainCallbacks(@Nullable PointerBuffer argv, SDL_AppInit_funcI appinit, SDL_AppIterate_funcI appiter, SDL_AppEvent_funcI appevent, SDL_AppQuit_funcI appquit) int SDL_EnterAppMainCallbacks(int argc, char ** argv, SDL_AppInit_func appinit, SDL_AppIterate_func appiter, SDL_AppEvent_func appevent, SDL_AppQuit_func appquit)static intSDL_RunApp(@Nullable PointerBuffer argv, SDL_main_funcI mainFunction, long reserved) int SDL_RunApp(int argc, char ** argv, SDL_main_func mainFunction, void * reserved)static booleanSDL_SDL_RegisterApp(@Nullable ByteBuffer name, int style, long hInst) bool SDL_SDL_RegisterApp(char * name, Uint32 style, HINSTANCE hInst)static voidvoid SDL_SDL_UnregisterApp(void)static voidvoid SDL_SetMainReady(void)
-
Method Details
-
SDL_SetMainReady
public static void SDL_SetMainReady()void SDL_SetMainReady(void) -
nSDL_RunApp
public static int nSDL_RunApp(int argc, long argv, long mainFunction, long reserved) int SDL_RunApp(int argc, char ** argv, SDL_main_func mainFunction, void * reserved) -
SDL_RunApp
public static int SDL_RunApp(@NativeType("char **") @Nullable PointerBuffer argv, @NativeType("SDL_main_func") SDL_main_funcI mainFunction, @NativeType("void *") long reserved) int SDL_RunApp(int argc, char ** argv, SDL_main_func mainFunction, void * reserved) -
nSDL_EnterAppMainCallbacks
public static int nSDL_EnterAppMainCallbacks(int argc, long argv, long appinit, long appiter, long appevent, long appquit) int SDL_EnterAppMainCallbacks(int argc, char ** argv, SDL_AppInit_func appinit, SDL_AppIterate_func appiter, SDL_AppEvent_func appevent, SDL_AppQuit_func appquit) -
SDL_EnterAppMainCallbacks
public static int SDL_EnterAppMainCallbacks(@NativeType("char **") @Nullable PointerBuffer argv, @NativeType("SDL_AppInit_func") SDL_AppInit_funcI appinit, @NativeType("SDL_AppIterate_func") SDL_AppIterate_funcI appiter, @NativeType("SDL_AppEvent_func") SDL_AppEvent_funcI appevent, @NativeType("SDL_AppQuit_func") SDL_AppQuit_funcI appquit) int SDL_EnterAppMainCallbacks(int argc, char ** argv, SDL_AppInit_func appinit, SDL_AppIterate_func appiter, SDL_AppEvent_func appevent, SDL_AppQuit_func appquit) -
nSDL_SDL_RegisterApp
public static boolean nSDL_SDL_RegisterApp(long name, int style, long hInst) bool SDL_SDL_RegisterApp(char * name, Uint32 style, HINSTANCE hInst) -
SDL_SDL_RegisterApp
@NativeType("bool") public static boolean SDL_SDL_RegisterApp(@NativeType("char *") @Nullable ByteBuffer name, @NativeType("Uint32") int style, @NativeType("HINSTANCE") long hInst) bool SDL_SDL_RegisterApp(char * name, Uint32 style, HINSTANCE hInst) -
SDL_SDL_UnregisterApp
public static void SDL_SDL_UnregisterApp()void SDL_SDL_UnregisterApp(void)
-