IrrLicht引擎研究
鬼火引擎研究
posts - 22,  comments - 40,  trackbacks - 0
01 2008 档案
从内存中加载图片资源
摘要: 1 使用工具将文件转为字节数组,这里用[bin2h.exe]比如准备个文件 testpng.png使用命令bin2h testpng.png将生成 testpng.h,内容如下unsigned int testpng_size=<size>;unsigned char testpng[]={...};2 将文件加入到工程中使用如下代码获取ITextrue接口,env为IGUIEnvir...阅读全文
posted @ 2008-01-13 15:26 安徽飞雪游戏工作室 阅读(565) | 评论 (0) 编辑

昵称:安徽飞雪游戏工作室
园龄:5年6个月
粉丝:2
关注:0

<2008年1月>
303112345
6789101112
13141516171819
20212223242526
272829303112
3456789

搜索

 
 

常用链接

随笔档案

文章分类

常用地址

最新评论

阅读排行榜

评论排行榜

推荐排行榜