libigl v2.5.0
Loading...
Searching...
No Matches
tga.h File Reference
#include "../../igl_inline.h"
#include "../../opengl2/gl.h"
#include <stdio.h>
#include "tga.cpp"

Go to the source code of this file.

Classes

struct  igl::opengl::gliGenericImage
 
struct  igl::opengl::TgaHeader
 
struct  igl::opengl::TgaFooter
 

Namespaces

namespace  igl
 
namespace  igl::opengl
 

Macros

#define TGA_TYPE_MAPPED   1
 
#define TGA_TYPE_COLOR   2
 
#define TGA_TYPE_GRAY   3
 
#define TGA_TYPE_MAPPED_RLE   9
 
#define TGA_TYPE_COLOR_RLE   10
 
#define TGA_TYPE_GRAY_RLE   11
 
#define TGA_DESC_ABITS   0x0f
 
#define TGA_DESC_HORIZONTAL   0x10
 
#define TGA_DESC_VERTICAL   0x20
 
#define TGA_SIGNATURE   "TRUEVISION-XFILE"
 

Functions

gliGenericImageigl::opengl::gliReadTGA (FILE *fp, char *name, int hflip, int vflip)
 
int igl::opengl::gli_verbose (int new_verbose)
 
int igl::opengl::gliVerbose (int newVerbose)
 
void igl::opengl::writeTGA (gliGenericImage *image, FILE *fp)
 

Macro Definition Documentation

◆ TGA_TYPE_MAPPED

#define TGA_TYPE_MAPPED   1

◆ TGA_TYPE_COLOR

#define TGA_TYPE_COLOR   2

◆ TGA_TYPE_GRAY

#define TGA_TYPE_GRAY   3

◆ TGA_TYPE_MAPPED_RLE

#define TGA_TYPE_MAPPED_RLE   9

◆ TGA_TYPE_COLOR_RLE

#define TGA_TYPE_COLOR_RLE   10

◆ TGA_TYPE_GRAY_RLE

#define TGA_TYPE_GRAY_RLE   11

◆ TGA_DESC_ABITS

#define TGA_DESC_ABITS   0x0f

◆ TGA_DESC_HORIZONTAL

#define TGA_DESC_HORIZONTAL   0x10

◆ TGA_DESC_VERTICAL

#define TGA_DESC_VERTICAL   0x20

◆ TGA_SIGNATURE

#define TGA_SIGNATURE   "TRUEVISION-XFILE"