package vendor:sdl2/image
⌘K
Ctrl+K
or
/
Index
Constants (7)
Variables (0)
This section is empty.
Procedures (50)
- FreeAnimation
- Init
- Linked_Version
- Load
- LoadAnimation
- LoadAnimationTyped_RW
- LoadAnimation_RW
- LoadBMP_RW
- LoadCUR_RW
- LoadGIFAnimation_RW
- LoadGIF_RW
- LoadICO_RW
- LoadJPG_RW
- LoadLBM_RW
- LoadPCX_RW
- LoadPNG_RW
- LoadPNM_RW
- LoadSVG_RW
- LoadTGA_RW
- LoadTIF_RW
- LoadTexture
- LoadTextureTyped_RW
- LoadTexture_RW
- LoadTyped_RW
- LoadWEBP_RW
- LoadXCF_RW
- LoadXPM_RW
- LoadXV_RW
- Load_RW
- Quit
- ReadXPMFromArray
- SaveJPG
- SaveJPG_RW
- SavePNG
- SavePNG_RW
- isBMP
- isCUR
- isGIF
- isICO
- isJPG
- isLBM
- isPCX
- isPNG
- isPNM
- isSVG
- isTIF
- isWEBP
- isXCF
- isXPM
- isXV
Procedure Groups (0)
This section is empty.
Types
Animation ¶
Animated image support Currently only animated GIFs are supported.
Related Procedures With Parameters
Related Procedures With Returns
InitFlag ¶
InitFlag :: enum i32 { JPG = 0, PNG = 1, TIF = 2, WEBP = 3, }
Constants
INIT_JPG ¶
INIT_JPG :: InitFlags{.JPG}
INIT_PNG ¶
INIT_PNG :: InitFlags{.PNG}
INIT_TIF ¶
INIT_TIF :: InitFlags{.TIF}
INIT_WEBP ¶
INIT_WEBP :: InitFlags{.WEBP}
MAJOR_VERSION ¶
MAJOR_VERSION :: 2
MINOR_VERSION ¶
MINOR_VERSION :: 0
PATCHLEVEL ¶
PATCHLEVEL :: 5
Variables
This section is empty.
Procedures
FreeAnimation ¶
FreeAnimation :: proc "c" (anim: ^Animation) ---
Linked_Version ¶
Linked_Version :: proc "c" () -> ^sdl2.version ---
LoadGIFAnimation_RW ¶
Individual loading functions
LoadICO_RW ¶
Individual loading functions
LoadTexture ¶
Load an image directly into a render texture.
LoadTyped_RW ¶
Load an image from an SDL data source.
The 'type' may be one of: "BMP", "GIF", "PNG", etc. If the image format supports a transparent pixel, SDL will set the colorkey for the surface. You can enable RLE acceleration on the surface afterwards by calling: SDL_SetColorKey(image, SDL_RLEACCEL, image->format->colorkey);
SavePNG ¶
Individual saving functions
isICO ¶
Functions to detect a file type, given a seekable source
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-2024-10 (vendor "odin") Windows_amd64 @ 2024-10-05 21:10:07.935803500 +0000 UTC