?? gltx.h
字號:
/* * Simple SGI .rgb (IRIS RGB) image file reader ripped off from * texture.c (written by David Blythe). See the SIGGRAPH '96 * Advanced OpenGL course notes. *//* includes */#include <GL/glut.h>/* typedefs *//* GLTXimage: Structure containing a texture image */typedef struct { GLuint width; /* width of image */ GLuint height; /* height of image */ GLuint components; /* number of components in image */ GLubyte* data; /* image data */} GLTXimage;/* gltxDelete: Deletes a texture image * * image - properly initialized GLTXimage structure */voidgltxDelete(GLTXimage* image);/* gltxReadRGB: Reads and returns data from an IRIS RGB image file. * * name - name of the IRIS RGB file to read data from */GLTXimage*gltxReadRGB(char *name);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -