How to determine maximum texture size ? #2469
Answered
by
halx99
rahuliyers
asked this question in
Q&A
-
In cocos2d-x, back when OpenGL was supported I used to do something like this:
But now on iOS one has metal and android is shifting to Vulcan So what is the preferred way to check maximum texture size for both iOS and Android while supporting both newer and older devices ? |
Beta Was this translation helpful? Give feedback.
Answered by
halx99
Mar 22, 2025
Replies: 1 comment 4 replies
-
You would have look up the specifics of the Metal API to see if it provides an interface to get that information, or some other way to handle it. Just to clarify for anyone coming across this thread, this doesn't have anything to do with the Axmol game engine. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
backend::DriverBase::getInstance()->getMaxTextureSize()