HDK
|
#include <textureObject.h>
Public Member Functions | |
HDST_API | HdStAssetUvTextureObject (const HdStTextureIdentifier &textureId, HdSt_TextureObjectRegistry *textureObjectRegistry) |
HDST_API | ~HdStAssetUvTextureObject () override |
HDST_API bool | IsValid () const override |
Public Member Functions inherited from HdStUvTextureObject | |
~HdStUvTextureObject () override | |
HgiTextureHandle const & | GetTexture () const |
const std::pair< HdWrap, HdWrap > & | GetWrapParameters () const |
HDST_API HdTextureType | GetTextureType () const overridefinal |
Public Member Functions inherited from HdStTextureObject | |
const HdStTextureIdentifier & | GetTextureIdentifier () const |
size_t | GetTargetMemory () const |
HDST_API void | SetTargetMemory (size_t) |
virtual HDST_API | ~HdStTextureObject () |
Definition at line 203 of file textureObject.h.
HDST_API HdStAssetUvTextureObject::HdStAssetUvTextureObject | ( | const HdStTextureIdentifier & | textureId, |
HdSt_TextureObjectRegistry * | textureObjectRegistry | ||
) |
|
override |
Commit texture to GPU (not thread-safe)
Implements HdStTextureObject.
Load texture to CPU (thread-safe)
Implements HdStTextureObject.
|
overridevirtual |
Is texture valid? Only correct after commit phase.
E.g., no file at given file path. Consulted by clients to determine whether to use the fallback value.
Implements HdStTextureObject.