HDK
|
#include <textureIdentifier.h>
Public Types | |
using | ID = size_t |
Public Member Functions | |
HDST_API | HdStTextureIdentifier () |
HDST_API | HdStTextureIdentifier (const TfToken &filePath) |
HDST_API | HdStTextureIdentifier (const TfToken &filePath, std::unique_ptr< const HdStSubtextureIdentifier > &&subtextureId) |
HDST_API | HdStTextureIdentifier (const HdStTextureIdentifier &textureId) |
HDST_API HdStTextureIdentifier & | operator= (HdStTextureIdentifier &&textureId) |
HDST_API HdStTextureIdentifier & | operator= (const HdStTextureIdentifier &textureId) |
HDST_API | ~HdStTextureIdentifier () |
const TfToken & | GetFilePath () const |
const HdStSubtextureIdentifier * | GetSubtextureIdentifier () const |
HDST_API bool | operator== (const HdStTextureIdentifier &other) const |
HDST_API bool | operator!= (const HdStTextureIdentifier &other) const |
Class to identify a texture file or a texture within the texture file (e.g., a frame in a movie).
The class has value semantics and uses HdStSubtextureIdentifier in a polymorphic way.
Definition at line 47 of file textureIdentifier.h.
using HdStTextureIdentifier::ID = size_t |
Definition at line 50 of file textureIdentifier.h.
HDST_API HdStTextureIdentifier::HdStTextureIdentifier | ( | ) |
C'tor for files that can contain only one texture.
HDST_API HdStTextureIdentifier::HdStTextureIdentifier | ( | const TfToken & | filePath, |
std::unique_ptr< const HdStSubtextureIdentifier > && | subtextureId | ||
) |
C'tor for files that can contain more than one texture (e.g., frames in a movie, grids in a VDB file).
HDST_API HdStTextureIdentifier::HdStTextureIdentifier | ( | const HdStTextureIdentifier & | textureId | ) |
HDST_API HdStTextureIdentifier::~HdStTextureIdentifier | ( | ) |
|
inline |
Get file path of texture file.
Definition at line 82 of file textureIdentifier.h.
|
inline |
Get additional information identifying a texture in a file that can contain more than one texture (e.g., a frame in a movie or a grid in a VDB file).
nullptr for files (e.g., png) that can contain only one texture.
Definition at line 92 of file textureIdentifier.h.
HDST_API bool HdStTextureIdentifier::operator!= | ( | const HdStTextureIdentifier & | other | ) | const |
HDST_API HdStTextureIdentifier& HdStTextureIdentifier::operator= | ( | HdStTextureIdentifier && | textureId | ) |
HDST_API HdStTextureIdentifier& HdStTextureIdentifier::operator= | ( | const HdStTextureIdentifier & | textureId | ) |
HDST_API bool HdStTextureIdentifier::operator== | ( | const HdStTextureIdentifier & | other | ) | const |