Why there is .pvr file in OpenGL(IOS)

会有一股神秘感。 提交于 2019-12-06 04:19:54

问题


I am making application with OpenGL in IOS using PVR texture for making 3D effect.I couldn't understand about .pvr files.So please friends would you give idea about .pvr files and what's importance of it in OpenGL and how can i make it?


回答1:


PVR file is a container for various texture format such as PVRTC, RGB565 and so forth. You can use directly these texture formats as is. If you use PNG, pixels might be pre-multiplied alpha.

PVRTC is compressed texture format that is natively supported by GPU (PowerVR MBX or SGX). GPU can render PVRTC effectively. It would increase framerate.

  • PVR Textures and Memory
  • Using texturetool to Compress Textures
  • PVRTexTool



回答2:


They are compressed texture files. You can convert more common formats into it using texturetool that comes with Xcode. Compressed textures save bandwidth, loading times and memory and speed up your application because they are compressed also in the video memory. They can also contain mipmaps.



来源:https://stackoverflow.com/questions/5590819/why-there-is-pvr-file-in-openglios

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!