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