i know [CCTexture2D PVRImagesHavePremultipliedAlpha:YES];
it’s appearance in cocos2d,
in cocos2d-x,
i see the
void setPVRImagesHavePremultipliedAlpha(bool haveAlphaPremultiplied);
it’s not static class function,
so when i want to use this way like cocos2d, like CCTexture2D::setPVRImagesHavePremultipliedAlpha(true),
cause i am using TexturePacker’s file, *.pvr.ccz, must set [CCTexture2D PVRImagesHavePremultipliedAlpha:YES];
but function setPVRImagesHavePremultipliedAlpha is not static function,
so can anyone give me suggestion.