#include <TextureLoader.h>
|
| IE_CORE_DECLAREMEMBERPTR (TextureLoader) |
|
| TextureLoader (const IECore::SearchPath &searchPaths) |
|
TexturePtr | load (const std::string &name) |
|
void | clear () |
| Removes any cached textures.
|
|
| IE_CORE_DECLAREMEMBERPTR (RefCounted) |
|
void | addRef () const |
| Add a reference to the current object.
|
|
void | removeRef () const |
| Remove a reference from the current object.
|
|
RefCount | refCount () const |
| Returns the current reference count.
|
|
- Todo:
- At some point we'll need to deal with the fact that there's limited texture memory and we can't just keep loading things forever without getting rid of something.
static TextureLoader* IECoreGL::TextureLoader::defaultTextureLoader |
( |
| ) |
|
|
static |
Returns a static TextureLoader instance that everyone can use. This has searchpaths set using the IECOREGL_TEXTURE_PATHS environment variable.
The documentation for this class was generated from the following file: