TORCS  1.3.9
The Open Racing Car Simulator
grtexture.h File Reference
#include <stdio.h>
#include <plib/ssg.h>
#include <glfeatures.h>
#include "grloadsgi.h"
Include dependency graph for grtexture.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  grManagedState
 
class  grSGIHeader
 

Functions

bool doMipMap (const char *tfname, int mipmap)
 
void grRemoveState (char *img)
 
grManagedStategrStateFactory (void)
 
bool grMakeMipMaps (GLubyte *image, int xsize, int ysize, int zsize, bool mipmap)
 
bool grLoadSGI (const char *fname, ssgTextureInfo *info)
 
void grRegisterCustomSGILoader (void)
 

Function Documentation

◆ doMipMap()

bool doMipMap ( const char *  tfname,
int  mipmap 
)

Definition at line 29 of file grtexture.cpp.

◆ grLoadSGI()

bool grLoadSGI ( const char *  fname,
ssgTextureInfo *  info 
)

Definition at line 98 of file grtexture.cpp.

◆ grMakeMipMaps()

bool grMakeMipMaps ( GLubyte *  image,
int  xsize,
int  ysize,
int  zsize,
bool  mipmap 
)

Definition at line 213 of file grtexture.cpp.

Here is the call graph for this function:

◆ grRegisterCustomSGILoader()

void grRegisterCustomSGILoader ( void  )

Definition at line 108 of file grtexture.cpp.

Here is the call graph for this function:

◆ grRemoveState()

void grRemoveState ( char *  img)

Definition at line 156 of file grutil.cpp.

◆ grStateFactory()

grManagedState* grStateFactory ( void  )
inline

Definition at line 73 of file grtexture.h.