早教吧 育儿知识 作业答案 考试题库 百科 知识分享

getSingleton是什么意思?//Setdefaultmipmaplevel(NBsomeAPIsignorethis)TextureManager::getSingleton().setDefaultNumMipmaps(5);这个:getSingleton()可以用TextureManager生成的一个对象来代替吗

题目详情
getSingleton是什么意思?
// Set default mipmap level (NB some APIs ignore this)
TextureManager::getSingleton().setDefaultNumMipmaps(5);这个:getSingleton()可以用TextureManager生成的一个对象来代替吗
▼优质解答
答案和解析
是 单例模式的意思 ;手工回答,辛苦耕耘,