sdl2-nim

SDL2

Basics

Video

  • video Display and window management.
  • render 2D accelerated rendering.
  • pixels Pixel formats and conversion routines.
  • rect Rectangle functions.
  • surface Surface creation and simple drawing.
  • clipboard Clipboard handling.
  • blendmode BlendMode enumeration.
  • messagebox Message box functions.
  • shape Shaped window API.

Input Events

Force Feedback

  • haptic Force feedback support.

Audio

  • audio Audio device management, playing and recording.

Threads

  • thread Thread management.
  • mutex Thread synchronization primitives.
  • atomics Atomic operations.

Timers

File Abstraction

Shared Object Support

  • loadso Shared object loading and function lookup.

Platform and CPU Information

Power Management

  • power Power management status.

Additional

SDL_GFX

SDL_IMAGE

  • sdl_image A simple library to load images of various formats as SDL surfaces.

SDL_MIXER

  • sdl_mixer Multi-channel audio mixer library.

SDL_NET

  • sdl_net Cross-platform networking library.

SDL_TTF

  • sdl_ttf TrueType font rendering library.