Ogre 中将Texture转成本地任意格式图片
摘要:
bool _saveTextureToLocal(Ogre::TexturePtr texPtr, const Ogre::String& fileName) { Ogre::HardwarePixelBufferSharedPtr tmpTexBuf = texPtr->getBuffer(); int width = texPtr->getWidth(); int ... 阅读全文
posted @ 2010-04-21 16:19 北漂民工 阅读(1076) 评论(0) 推荐(0) 编辑