openTRI 0.1
triImage Struct Reference

Image struct. More...

#include <triImage.h>

Data Fields

triVoid * palette
 Image palette.
triU32 palformat
 Palette format - one of IMG_FORMAT_5650, IMG_FORMAT_5551, IMG_FORMAT_4444, IMG_FORMAT_8888.
triVoid * data
 Image data.
triU32 size
 Size of data in bytes.
triU16 width
 Image width.
triU16 height
 Image height.
triU16 stride
 Image allocated width (power of two).
triU16 tex_height
 Image texture height (power of two).
triU16 format
 Image format - one of IMG_FORMAT_*.
triU8 bits
 Image bits per pixel.
triU8 levels
 Number of mipmap levels in image.
triMipLevellevel
 Linked list of mipmap levels.
triBool swizzled
 Is image swizzled.
triChar filename [64]

Detailed Description

Image struct.

Max 1024xN.


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