Bundle SDL2 multimedia library for 2D graphics, input handling, audio playback, and window management. Core types: Window, Renderer, Texture, Surface, Event, and Mixer. Compile with -lib sdl2.
Image
Image loading operations
Operations
Init # function
Initialize by loading support as indicated by the flags
function : Init(flags:Int) ~ IntParameters
| Name | Type | Description |
|---|---|---|
| flags | Int | OR'd values ImageFlags->IMG_INIT_JPG, ImageFlags->IMG_INIT_PNG and ImageFlags->IMG_INIT_TIF |
Return
| Type | Description |
|---|---|
| Int | status code |