Hi,
Is there any way to get pixel data from a PVR texture?
I only see functions like PVRTTextureLoadFromPVR in the SDK, but they do not help.
Does anyone know how to do this?
Thank you.
Hi,
Hi dapumptu,
Using PVRTexLib you can use the “getDataPtr” function to retrieve the pixel data, but currently in our SDK Tools library there is no functionality to do this. We plan to make loading textures more intuitive in future, but for now you would have to load the data in yourself I’m afraid. The easiest thing to do is probably to either copy or modify the tools loading code and get the data pointer that way.
Thanks,
Tobias
© Imagination Technologies Limited. All rights reserved.
Privacy Policy – Terms & Conditions – Trademarks – Cookies