sdl3-main

Tools for using SDL's main and callback APIs


Keywords
sdl, bindings, rust, sdl3
License
Zlib

Documentation

sdl3-sys

See the sdl3-sys dir for the SDL 3 Rust bindings.

  • sdl3-sys: Rust bindings for SDL 3
  • sdl3-src: Source code crate for SDL 3, used by sdl3-sys when building from source. This contains the official SDL repository as a git submodule.
  • sdl3-sys-gen: Parser and generator that generates sdl3-sys from the official SDL 3 headers.

Why not use bindgen?

Because we can do better. sdl3-sys-gen makes platform independent bindings with full documentation from the original headers and collects the output into modules. The generator is standalone.