GRRLIB
4.4.0
|
Structure to hold the texture information. More...
#include <grrlib.h>
Data Fields | |
u32 | w |
The width of the texture in pixels. More... | |
u32 | h |
The height of the texture in pixels. More... | |
int | handlex |
Texture handle x. More... | |
int | handley |
Texture handle y. More... | |
int | offsetx |
Texture offset x. More... | |
int | offsety |
Texture offset y. More... | |
bool | tiledtex |
Texture is tiled if set to true. More... | |
u32 | tilew |
The width of one tile in pixels. More... | |
u32 | tileh |
The height of one tile in pixels. More... | |
u32 | nbtilew |
Number of tiles for the x axis. More... | |
u32 | nbtileh |
Number of tiles for the y axis. More... | |
u32 | tilestart |
Offset to tile starting position. More... | |
f32 | ofnormaltexx |
Offset of normalized texture on x. More... | |
f32 | ofnormaltexy |
Offset of normalized texture on y. More... | |
void * | data |
Pointer to the texture data. More... | |
Structure to hold the texture information.
void* data |
Pointer to the texture data.
u32 h |
The height of the texture in pixels.
int handlex |
Texture handle x.
int handley |
Texture handle y.
u32 nbtileh |
Number of tiles for the y axis.
u32 nbtilew |
Number of tiles for the x axis.
int offsetx |
Texture offset x.
int offsety |
Texture offset y.
f32 ofnormaltexx |
Offset of normalized texture on x.
f32 ofnormaltexy |
Offset of normalized texture on y.
bool tiledtex |
Texture is tiled if set to true.
u32 tileh |
The height of one tile in pixels.
u32 tilestart |
Offset to tile starting position.
u32 tilew |
The width of one tile in pixels.
u32 w |
The width of the texture in pixels.