GLUS
Data Fields
_GLUStgaimage Struct Reference

Structure used for Targa Image File loading. More...

#include <glus_image.h>

Data Fields

GLUSushort width
 Width of the TGA image. More...
 
GLUSushort height
 Height of the TGA image. More...
 
GLUSushort depth
 Depth of the image. More...
 
GLUSubytedata
 Pixel data. More...
 
GLUSenum format
 Format of the TGA image. More...
 

Detailed Description

Structure used for Targa Image File loading.

Field Documentation

GLUSubyte* data

Pixel data.

GLUSushort depth

Depth of the image.

GLUSenum format

Format of the TGA image.

Can be:

GLUS_RGB GLUS_RGBA GLUS_LUMINANCE

Last entry can also be interpreted as GLUS_ALPHA.

GLUSushort height

Height of the TGA image.

GLUSushort width

Width of the TGA image.


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