📄 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 + -