#include <PVRCachedImages.h>
|
static int | Cleanup (const std::vector< PVRImagePattern > &urlPatterns, const std::vector< std::string > &urlsToCheck, bool clearTextureForPath=false) |
| Erase stale texture db entries and image files.
|
|
static std::string | UnwrapImageURL (const std::string &url) |
| Extract the wrapped URL from an image URL.
|
|
◆ Cleanup()
int CPVRCachedImages::Cleanup |
( |
const std::vector< PVRImagePattern > & | urlPatterns, |
|
|
const std::vector< std::string > & | urlsToCheck, |
|
|
bool | clearTextureForPath = false ) |
|
static |
Erase stale texture db entries and image files.
- Parameters
-
urlPatterns | The URL patterns to fetch from texture database. |
urlsToCheck | The URLs to check for still being present in the texture db. |
clearTextureForPath | Whether to clear the path in texture database. |
- Returns
- number of cleaned up images.
◆ UnwrapImageURL()
std::string CPVRCachedImages::UnwrapImageURL |
( |
const std::string & | url | ) |
|
|
static |
Extract the wrapped URL from an image URL.
- Parameters
-
- Returns
- The unwrapped URL if url is an image URL, url otherwise.
The documentation for this class was generated from the following files: