ios_opengl-texture-loader
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Sazameki OpenGL Texture Loader for iPhone (Supports alpha value correction, optimized PNG files and PVRTC files)
Sazameki OpenGL Texture Loader for iPhone

This texture loader allows you to make textures from any kind of images including optimized / non-optimized PNG image files and PVRTC files. RGB values affected by alpha values will be corrected.


<< How to use? >>

1. Add SZGLTextureLoader.* to your project.
2. Now you can use SZGLLoadTexture() function to create OpenGL textures by specifying imagePath and pointers to contain image sizes and texture sizes.

SZGLTexture class is just prepared to show an example to use the SZGLLoadTexture() function, but I suppose it has enough implementation to make games. SZGLTexture class allows you to rotate, scale and change alpha value to render.


<< License >>

Sazameki OpenGL Texture Loader for iPhone is provided in the public domain, so you can use it in any way.


本源码包内暂不包含可直接显示的源代码文件,请下载源码包。