cocos-engine
cocos-engine copied to clipboard
check max mipmap level for texture creation
check max level count
actually there is already a function getLevelCount in the GFXTexture.cpp to calculate the max count, but i didn't move this function to somewhere for common use because not sure where should i put it.
Interface Check Report
This pull request does not change any public interfaces !