首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > OpenGL图像库

OpenGL图像库

  • 资源大小:42.16 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: opengl 图像

资 源 简 介

My opengl image library. This is the currently supported file type. PEG baseline (no JPEG progressive) NG 8-bit only GA (not sure what subset, if a subset) MP non-1bpp, non-RLE SD (composited view only, no extra channels) IF (**comp always reports as 4-channel) DR (radiance rgbE format) IC (Softimage PIC)** Usage Example Build Texture from a file. stub: GLuint BuildTexture(const char * filename, bool invertimg = false, bool grayscale = false, bool gentexcoords = false, bool buildMipMap = false, bool addalpha = false); ex. GLuint _SkyBox[6];_SkyBox[location] = CZAIL::BuildTexture(filename, inverttex, grayscale); Get image data stub: unsigned char *GetTextureData(const char * filename,int &width, int &height,int &channels, bool invertimg = false, bool grayscale = false );<

文 件 列 表

gl_image.c
CZAIL.h

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.177989s