摘要: python压缩纹理资源 > ccz import os import struct import zlib def ccz(inputFile, outputFile, width, height): if not os.path.exists(inputFile): print("####### 阅读全文
posted @ 2023-02-28 15:48 会飞的斧头 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 1、克隆代码,CMake生成工程文件,vs直接编译; https://github.com/ARM-software/astc-encoder 2、命令备份 rem astcenc.exe -h set astc_command=D:\res\tps_test\proj\bg\astcenc.exe 阅读全文
posted @ 2023-02-28 15:45 会飞的斧头 阅读(804) 评论(0) 推荐(0) 编辑
摘要: 1、根据 纹理 是否alpha预乘,决定混合方式 void Sprite::updateBlendFunc(void) { CCASSERT(! _batchNode, "CCSprite: updateBlendFunc doesn't work when the sprite is render 阅读全文
posted @ 2023-02-28 15:40 会飞的斧头 阅读(82) 评论(0) 推荐(0) 编辑