[−][src]Module sdl2::image
A binding for the library SDL2_image
Note that you need to build with the
feature image
for this module to be enabled,
like so:
$ cargo build --features "image"
If you want to use this with from inside your own crate, you will need to add this in your Cargo.toml
[dependencies.sdl2]
version = ...
default-features = false
features = ["image"]
Structs
InitFlag | InitFlags are passed to init() to control which subsystem functionality to load. |
Sdl2ImageContext | Context manager for |
Traits
ImageRWops | |
LoadSurface | Static method extensions for creating Surfaces |
LoadTexture | Method extensions for creating Textures from a |
SaveSurface | Method extensions to Surface for saving to disk |
Functions
get_linked_version | Returns the version of the dynamically linked |
init | Initializes |