toString convert int to hex.
Posted: Wed Mar 31, 2010 11:40 am
As I see it's not possible because you can onpy pass one flag to setf function. If you can add mask to it - then it will become possible.
Support and community hang-out spot for Ogre3D
https://forums.ogre3d.org/
Code: Select all
Ogre::String hex = Ogre::StringConverter::toString(140, 0, ' ', std::ios::hex | otherflags);
Code: Select all
Ogre::String hex = Ogre::StringConverter::toString(140, 0, ' ', std::ios::hex);
Code: Select all
stream.setf(std::ios::hex, std::ios::basefield);