Loading...
Searching...
No Matches
UsdColorSpaceAPI::ColorSpaceCache Class Referenceabstract

A minimalistic cache for color space lookups. More...

#include <colorSpaceAPI.h>

+ Inheritance diagram for UsdColorSpaceAPI::ColorSpaceCache:

Public Member Functions

virtual TfToken Find (const SdfPath &prim)=0
 
virtual void Insert (const SdfPath &prim, const TfToken &colorSpace)=0
 

Detailed Description

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.


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