#include// Create a PVRTextureHeader object PVRTextureHeader texHeader; // Set the IconPath to "textures/icon.pvr" texHeader.setIconPath("textures/icon.pvr");
#includeIn this example, we create a PVRTextureHeader object and set the IconPath to "textures/icon.pvr". We then get the IconPath using the getIconPath() method and output it to the console. This is useful for verifying that the IconPath was set correctly. Package Library: PowerVR SDK#include // Create a PVRTextureHeader object PVRTextureHeader texHeader; // Set the IconPath to "textures/icon.pvr" texHeader.setIconPath("textures/icon.pvr"); // Get the IconPath and output it to the console std::string iconPath = texHeader.getIconPath(); std::cout << "IconPath: " << iconPath << std::endl;