mcheman / rs-sdl2-examples

Rust SDL2 example code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust SDL2 Examples

Setup

You will need rust and SDL2 on your system.

Build the examples via Cargo

cargo build

Some examples will require assets so run each example from the root of the project.

cargo run --bin eg04

Displays a window for a moment then quits.

Handling events.

Rendering shapes.

Surface rendering.

Texture rendering.

About

Rust SDL2 example code

License:MIT License


Languages

Language:Rust 100.0%