coastline 0.0.4
Loading...
Searching...
No Matches
Texture Struct Reference

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

Detailed Description

A compressed texture of the cartridge and the memory it is loaded into.

Member Data Documentation

◆ romStart

u32 Texture::romStart

The cartridge offset of the compressed texture.

◆ romEnd

u32 Texture::romEnd

The cartridge offset of the end of the texture and start of the next asset.

◆ pixels

u8* Texture::pixels

The decompressed texels, or NULL before the texture is loaded.

◆ width

u16 Texture::width

The width in texels.

◆ height

u16 Texture::height

The height in texels.

◆ format

u8 Texture::format

The texel format, a G_IM_FMT_* value.

◆ size

u8 Texture::size

The texel size, a G_IM_SIZ_* value.


The documentation for this struct was generated from the following file: