Class SDLMain

java.lang.Object
org.lwjgl.sdl.SDLMain

public class SDLMain extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Contains the function pointers loaded from SDL.getLibrary().
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    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)
    static boolean
    nSDL_SDL_RegisterApp(long name, int style, long hInst)
    bool SDL_SDL_RegisterApp(char * name, Uint32 style, HINSTANCE hInst)
    static int
    int SDL_EnterAppMainCallbacks(int argc, char ** argv, SDL_AppInit_func appinit, SDL_AppIterate_func appiter, SDL_AppEvent_func appevent, SDL_AppQuit_func appquit)
    static int
    SDL_RunApp(@Nullable PointerBuffer argv, SDL_main_funcI mainFunction, long reserved)
    int SDL_RunApp(int argc, char ** argv, SDL_main_func mainFunction, void * reserved)
    static boolean
    SDL_SDL_RegisterApp(@Nullable ByteBuffer name, int style, long hInst)
    bool SDL_SDL_RegisterApp(char * name, Uint32 style, HINSTANCE hInst)
    static void
    void SDL_SDL_UnregisterApp(void)
    static void
    void SDL_SetMainReady(void)

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)