TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
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)
void grApplyTextureAnisotropy (ssgTexture *tex)
grManagedState * grStateFactory (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 28 of file grtexture.cpp.

◆ grApplyTextureAnisotropy()

void grApplyTextureAnisotropy ( ssgTexture * tex)

Definition at line 67 of file grtexture.cpp.

Here is the call graph for this function:

◆ grLoadSGI()

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

Definition at line 119 of file grtexture.cpp.

◆ grMakeMipMaps()

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

Definition at line 234 of file grtexture.cpp.

Here is the call graph for this function:

◆ grRegisterCustomSGILoader()

void grRegisterCustomSGILoader ( void )

Definition at line 129 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 76 of file grtexture.h.