摘要:
typedef struct TGAImage { GLubyte *imageData; // 图像数据 GLuint bpp; // 像素颜色深度 GLuint width; // 图像宽度 GLuint height; // 图像高度 GLuint texID; // 纹理ID} TGAImage; bool LoadTGA(TGAImage *texture, char *filename){ GLubyte TGAheader[1... 阅读全文
posted @ 2011-05-07 13:58
ezhong
阅读(642)
评论(0)
推荐(0)
浙公网安备 33010602011771号