HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GlfTextureRegistry Class Reference

#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< VtDictionaryGetTextureInfos () const
 
GLF_API void Reset ()
 

Static Public Member Functions

static GLF_API GlfTextureRegistryGetInstance ()
 

Friends

class TfSingleton< GlfTextureRegistry >
 

Detailed Description

Definition at line 53 of file textureRegistry.h.

Member Typedef Documentation

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.

Member Function Documentation

GLF_API void GlfTextureRegistry::GarbageCollectIfNeeded ( )
static GLF_API GlfTextureRegistry& GlfTextureRegistry::GetInstance ( )
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
GLF_API void GlfTextureRegistry::RequiresGarbageCollection ( )
GLF_API void GlfTextureRegistry::Reset ( )

Friends And Related Function Documentation

Definition at line 97 of file textureRegistry.h.


The documentation for this class was generated from the following file: