I would like to know how I would go by accessing DDS mipmaps. From what I understand, I need to use FreeImage_OpenMultiBitmap, like this:
FIMULTIBITMAP * mp = FreeImage_OpenMultiBitmap(FREE_IMAGE_FORMAT::FIF_DDS, assetPath.string().c_str(), true, true);
int numPages = FreeImage_GetPageCount(mp);
but numPages returns 0 on a perfectly valid DDS file (verified using another program). So what do I need to do to make it work?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.