6 replies to this topic
Members - Reputation: 103
Posted 22 October 2005 - 09:47 AM
Original post by Frente
I'm a newbie to OpenGl....
where to find the document to the functions in glaux.h?
auxDIBImageLoad() for example?
auxDIBImageLoad is the function, that is used to load *.bmp files in OpenGL projects. The value by this function is returned to the variable of type AUX_RGBImageRec*. Here's the example:
unsigned int texture;
texture_image = auxDIBImageLoad ("Texture.bmp");
glGenTextures (1, &texture);