|
HDK
|
#include <colorSpaceAPI.h>
Inheritance diagram for UsdColorSpaceAPI::ColorSpaceCache:Public Member Functions | |
| ColorSpaceCache ()=default | |
| virtual | ~ColorSpaceCache ()=default |
| virtual TfToken | Find (const SdfPath &prim)=0 |
| virtual void | Insert (const SdfPath &prim, const TfToken &colorSpace)=0 |
A minimalistic cache for color space lookups. An application may provide its own cache implementation to avoid redundant color space lookups. The cache should be cleared or updated when the color space properties have changed. A typical use pattern would be to create a temporary cache at the beginning of a traversal, and pass it to the color space API methods.
Definition at line 244 of file colorSpaceAPI.h.
|
default |
|
virtualdefault |
Implemented in UsdColorSpaceAPI::ColorSpaceHashCache.
|
pure virtual |
Implemented in UsdColorSpaceAPI::ColorSpaceHashCache.