QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gl_textures.c File Reference

Macros

#define NH_DEFINE
 

Functions

int GL_LoadTexture (const char *identifier, int width, int height, const byte *data, qboolean mipmap, qboolean alpha, int bytesperpixel)
 
void GL_TextureMode_f (void)
 
void GL_Upload8 (const byte *data, int width, int height, qboolean mipmap, qboolean alpha)
 
void GL_Upload8_EXT (const byte *data, int width, int height, qboolean mipmap, qboolean alpha)
 

Variables

int gl_alpha_format = 4
 
int gl_lightmap_format = 4
 
int gl_solid_format = 3
 

Macro Definition Documentation

#define NH_DEFINE

Function Documentation

int GL_LoadTexture ( const char *  identifier,
int  width,
int  height,
const byte data,
qboolean  mipmap,
qboolean  alpha,
int  bytesperpixel 
)
void GL_TextureMode_f ( void  )
void GL_Upload8 ( const byte data,
int  width,
int  height,
qboolean  mipmap,
qboolean  alpha 
)
void GL_Upload8_EXT ( const byte data,
int  width,
int  height,
qboolean  mipmap,
qboolean  alpha 
)

Variable Documentation

int gl_alpha_format = 4
int gl_lightmap_format = 4
int gl_solid_format = 3