sfillib header
More...
#include <3ds.h>
#include <sf2d.h>
Go to the source code of this file.
sfillib header
- Author
- Sergi Granell (xerpi)
- Date
- 2 April 2015
sf2d_texture* sfil_load_BMP_buffer |
( |
const void * |
buffer, |
|
|
sf2d_place |
place |
|
) |
| |
Loads a BMP image from a memory buffer.
- Parameters
-
buffer | the pointer of the memory buffer to load the image from |
place | where to allocate the texture |
- Returns
- a pointer to the newly created texture/image
sf2d_texture* sfil_load_BMP_file |
( |
const char * |
filename, |
|
|
sf2d_place |
place |
|
) |
| |
Loads a BMP image from the SD card.
- Parameters
-
filename | the path of the image to load |
place | where to allocate the texture |
- Returns
- a pointer to the newly created texture/image
sf2d_texture* sfil_load_JPEG_buffer |
( |
const void * |
buffer, |
|
|
unsigned long |
buffer_size, |
|
|
sf2d_place |
place |
|
) |
| |
Loads a JPG/JPEG image from a memory buffer.
- Parameters
-
buffer | the pointer of the memory buffer to load the image from |
buffer_size | the size of the memory buffer |
place | where to allocate the texture |
- Returns
- a pointer to the newly created texture/image
sf2d_texture* sfil_load_JPEG_file |
( |
const char * |
filename, |
|
|
sf2d_place |
place |
|
) |
| |
Loads a JPG/JPEG image from the SD card.
- Parameters
-
filename | the path of the image to load |
place | where to allocate the texture |
- Returns
- a pointer to the newly created texture/image
sf2d_texture* sfil_load_PNG_buffer |
( |
const void * |
buffer, |
|
|
sf2d_place |
place |
|
) |
| |
Loads a PNG image from a memory buffer.
- Parameters
-
buffer | the pointer of the memory buffer to load the image from |
place | where to allocate the texture |
- Returns
- a pointer to the newly created texture/image
sf2d_texture* sfil_load_PNG_file |
( |
const char * |
filename, |
|
|
sf2d_place |
place |
|
) |
| |
Loads a PNG image from the SD card.
- Parameters
-
filename | the path of the image to load |
place | where to allocate the texture |
- Returns
- a pointer to the newly created texture/image