|
Defines |
#define | TRACE_GL(msg) { GLenum rc; if ((rc = glGetError()) != GL_NO_ERROR) printf("%s %s\n", msg, gluErrorString(rc)); } |
#define | DBG_SET_NAME(base, name, index, subindex) |
Functions |
int | grGetFilename (char *filename, char *filepath, char *buf) |
GLuint | grLoadTexture (char *filename, char *filepath, float screen_gamma, int mipmap) |
ssgState * | grSsgEnvTexState (char *img) |
ssgState * | grSsgLoadTexState (char *img) |
ssgState * | grSsgLoadTexStateEx (char *img, char *filepath, int wrap, int mipmap) |
int | grPruneTree (ssgEntity *start, bool init) |
void | grForceState (ssgEntity *start, ssgState *state) |
bool | grLoadPngTexture (const char *fname, ssgTextureInfo *info) |
void | grShutdownState (void) |
void | grWriteTime (float *color, int font, int x, int y, tdble sec, int sgn) |
float | grGetHOT (float x, float y) |
Variables |
float | grGammaValue |
int | grMipMap |
char * | grFilePath |
char * | grTexturePath |