sf2dlib
Simple and Fast 2D library for the Nintendo 3DS
|
Represents a texture. More...
#include <sf2d.h>
Data Fields | |
sf2d_place | place |
int | tiled |
sf2d_texfmt | pixel_format |
u32 | params |
int | width |
int | height |
int | pow2_w |
int | pow2_h |
int | data_size |
void * | data |
Represents a texture.
void* sf2d_texture::data |
Pointer to the data
int sf2d_texture::data_size |
Size of the raw texture data
int sf2d_texture::height |
Texture height
u32 sf2d_texture::params |
Texture filters and wrapping
sf2d_texfmt sf2d_texture::pixel_format |
Pixel format
sf2d_place sf2d_texture::place |
Where the texture data resides, RAM or VRAM
int sf2d_texture::pow2_h |
Nearest power of 2 >= height
int sf2d_texture::pow2_w |
Nearest power of 2 >= width
int sf2d_texture::tiled |
Whether the tetxure is tiled or not
int sf2d_texture::width |
Texture width