Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Texture.C File Reference

#include "Texture.H"
#include "TexLoadRGB.H"
#include "pnm_image.H"
#include "streamwrap.H"

Compounds

struct  TGA_Header_

Defines

#define CLAMP(x)   x > 255 ? 255 : x
#define TGA_NULL   0
#define TGA_MAP   1
#define TGA_RGB   2
#define TGA_MONO   3
#define TGA_RLEMAP   9
#define TGA_RLERGB   10
#define TGA_RLEMONO   11
#define TGA_DESC_ALPHA_MASK   ((unsigned char)0xF)
#define TGA_DESC_ORG_MASK   ((unsigned char)0x30)
#define TGA_ORG_BOTTOM_LEFT   0x00
#define TGA_ORG_BOTTOM_RIGHT   0x10
#define TGA_ORG_TOP_LEFT   0x20
#define TGA_ORG_TOP_RIGHT   0x30

Typedefs

typedef TGA_Header_ TGA_Header

Functions

bool colors_equal (const unsigned char *a, const unsigned char *b, const int chan)

Define Documentation

#define CLAMP      x > 255 ? 255 : x
 

#define TGA_DESC_ALPHA_MASK   ((unsigned char)0xF)
 

#define TGA_DESC_ORG_MASK   ((unsigned char)0x30)
 

#define TGA_MAP   1
 

#define TGA_MONO   3
 

#define TGA_NULL   0
 

#define TGA_ORG_BOTTOM_LEFT   0x00
 

#define TGA_ORG_BOTTOM_RIGHT   0x10
 

#define TGA_ORG_TOP_LEFT   0x20
 

#define TGA_ORG_TOP_RIGHT   0x30
 

#define TGA_RGB   2
 

#define TGA_RLEMAP   9
 

#define TGA_RLEMONO   11
 

#define TGA_RLERGB   10
 


Typedef Documentation

typedef struct TGA_Header_ TGA_Header
 


Function Documentation

bool colors_equal const unsigned char *    a,
const unsigned char *    b,
const int    chan
[inline]
 


Generated on Mon Sep 15 16:27:57 2003 for inspace by doxygen1.2.18