|
coastline 0.0.4
|
A compressed texture of the cartridge and the memory it is loaded into. More...
#include <texrect.h>
Public Attributes | |
| u32 | romStart |
| u32 | romEnd |
| u8 * | pixels |
| u16 | width |
| u16 | height |
| u8 | format |
| u8 | size |
A compressed texture of the cartridge and the memory it is loaded into.
| u32 Texture::romStart |
The cartridge offset of the compressed texture.
| u32 Texture::romEnd |
The cartridge offset of the end of the texture and start of the next asset.
| u8* Texture::pixels |
The decompressed texels, or NULL before the texture is loaded.
| u16 Texture::width |
The width in texels.
| u16 Texture::height |
The height in texels.
| u8 Texture::format |
The texel format, a G_IM_FMT_* value.
| u8 Texture::size |
The texel size, a G_IM_SIZ_* value.