Class SDLTimer

java.lang.Object
org.lwjgl.sdl.SDLTimer

public class SDLTimer extends Object
  • Field Details

  • Method Details

    • SDL_GetTicks

      @NativeType("Uint64") public static long SDL_GetTicks()
      Uint64 SDL_GetTicks(void)
    • SDL_GetTicksNS

      @NativeType("Uint64") public static long SDL_GetTicksNS()
      Uint64 SDL_GetTicksNS(void)
    • SDL_GetPerformanceCounter

      @NativeType("Uint64") public static long SDL_GetPerformanceCounter()
      Uint64 SDL_GetPerformanceCounter(void)
    • SDL_GetPerformanceFrequency

      @NativeType("Uint64") public static long SDL_GetPerformanceFrequency()
      Uint64 SDL_GetPerformanceFrequency(void)
    • SDL_Delay

      public static void SDL_Delay(@NativeType("Uint32") int ms)
      void SDL_Delay(Uint32 ms)
    • SDL_DelayNS

      public static void SDL_DelayNS(@NativeType("Uint64") long ns)
      void SDL_DelayNS(Uint64 ns)
    • SDL_DelayPrecise

      public static void SDL_DelayPrecise(@NativeType("Uint64") long ns)
      void SDL_DelayPrecise(Uint64 ns)
    • nSDL_AddTimer

      public static int nSDL_AddTimer(int interval, long callback, long userdata)
      SDL_TimerID SDL_AddTimer(Uint32 interval, SDL_TimerCallback callback, void * userdata)
    • SDL_AddTimer

      @NativeType("SDL_TimerID") public static int SDL_AddTimer(@NativeType("Uint32") int interval, @NativeType("SDL_TimerCallback") SDL_TimerCallbackI callback, @NativeType("void *") long userdata)
      SDL_TimerID SDL_AddTimer(Uint32 interval, SDL_TimerCallback callback, void * userdata)
    • nSDL_AddTimerNS

      public static int nSDL_AddTimerNS(long interval, long callback, long userdata)
      SDL_TimerID SDL_AddTimerNS(Uint64 interval, SDL_NSTimerCallback callback, void * userdata)
    • SDL_AddTimerNS

      @NativeType("SDL_TimerID") public static int SDL_AddTimerNS(@NativeType("Uint64") long interval, @NativeType("SDL_NSTimerCallback") SDL_NSTimerCallbackI callback, @NativeType("void *") long userdata)
      SDL_TimerID SDL_AddTimerNS(Uint64 interval, SDL_NSTimerCallback callback, void * userdata)
    • SDL_RemoveTimer

      @NativeType("bool") public static boolean SDL_RemoveTimer(@NativeType("SDL_TimerID") int id)
      bool SDL_RemoveTimer(SDL_TimerID id)
    • SDL_SECONDS_TO_NS

      @NativeType("Uint64") public static long SDL_SECONDS_TO_NS(@NativeType("Uint64") long S)
      Uint64 SDL_SECONDS_TO_NS(Uint64 S)
    • SDL_NS_TO_SECONDS

      @NativeType("Uint64") public static long SDL_NS_TO_SECONDS(@NativeType("Uint64") long NS)
      Uint64 SDL_NS_TO_SECONDS(Uint64 NS)
    • SDL_MS_TO_NS

      @NativeType("Uint64") public static long SDL_MS_TO_NS(@NativeType("Uint64") long MS)
      Uint64 SDL_MS_TO_NS(Uint64 MS)
    • SDL_NS_TO_MS

      @NativeType("Uint64") public static long SDL_NS_TO_MS(@NativeType("Uint64") long NS)
      Uint64 SDL_NS_TO_MS(Uint64 NS)
    • SDL_US_TO_NS

      @NativeType("Uint64") public static long SDL_US_TO_NS(@NativeType("Uint64") long US)
      Uint64 SDL_US_TO_NS(Uint64 US)
    • SDL_NS_TO_US

      @NativeType("Uint64") public static long SDL_NS_TO_US(@NativeType("Uint64") long NS)
      Uint64 SDL_NS_TO_US(Uint64 NS)