HDK
|
#include <textureRegistry.h>
Public Types | |
typedef std::map< std::pair < TfToken, GlfImage::ImageOriginLocation > , _TextureMetadata > | TextureRegistryMap |
typedef std::map < GlfTexturePtr, GlfTextureHandlePtr > | TextureRegistryNonSharedMap |
Public Member Functions | |
GLF_API GlfTextureHandleRefPtr | GetTextureHandle (const TfToken &texture, GlfImage::ImageOriginLocation originLocation=GlfImage::OriginUpperLeft) |
GLF_API GlfTextureHandleRefPtr | GetTextureHandle (const TfTokenVector &textures, GlfImage::ImageOriginLocation originLocation=GlfImage::OriginUpperLeft) |
GLF_API GlfTextureHandleRefPtr | GetTextureHandle (GlfTextureRefPtr texture) |
GLF_API GlfTextureHandleRefPtr | GetTextureHandle (const TfToken &texture, GlfImage::ImageOriginLocation originLocation, const GlfTextureFactoryBase *textureFactory) |
GLF_API void | RequiresGarbageCollection () |
GLF_API void | GarbageCollectIfNeeded () |
GLF_API bool | HasTexture (const TfToken &texture, GlfImage::ImageOriginLocation originLocation=GlfImage::OriginUpperLeft) const |
GLF_API std::vector< VtDictionary > | GetTextureInfos () const |
GLF_API void | Reset () |
Static Public Member Functions | |
static GLF_API GlfTextureRegistry & | GetInstance () |
Friends | |
class | TfSingleton< GlfTextureRegistry > |
Definition at line 53 of file textureRegistry.h.
typedef std::map<std::pair<TfToken, GlfImage::ImageOriginLocation>, _TextureMetadata> GlfTextureRegistry::TextureRegistryMap |
Definition at line 148 of file textureRegistry.h.
typedef std::map<GlfTexturePtr, GlfTextureHandlePtr> GlfTextureRegistry::TextureRegistryNonSharedMap |
Definition at line 150 of file textureRegistry.h.
|
static |
GLF_API GlfTextureHandleRefPtr GlfTextureRegistry::GetTextureHandle | ( | const TfToken & | texture, |
GlfImage::ImageOriginLocation | originLocation = GlfImage::OriginUpperLeft |
||
) |
GLF_API GlfTextureHandleRefPtr GlfTextureRegistry::GetTextureHandle | ( | const TfTokenVector & | textures, |
GlfImage::ImageOriginLocation | originLocation = GlfImage::OriginUpperLeft |
||
) |
GLF_API GlfTextureHandleRefPtr GlfTextureRegistry::GetTextureHandle | ( | GlfTextureRefPtr | texture | ) |
GLF_API GlfTextureHandleRefPtr GlfTextureRegistry::GetTextureHandle | ( | const TfToken & | texture, |
GlfImage::ImageOriginLocation | originLocation, | ||
const GlfTextureFactoryBase * | textureFactory | ||
) |
GLF_API std::vector<VtDictionary> GlfTextureRegistry::GetTextureInfos | ( | ) | const |
GLF_API bool GlfTextureRegistry::HasTexture | ( | const TfToken & | texture, |
GlfImage::ImageOriginLocation | originLocation = GlfImage::OriginUpperLeft |
||
) | const |
|
friend |
Definition at line 97 of file textureRegistry.h.