7#ifndef PXR_USD_USD_UTILS_STAGE_CACHE_H
8#define PXR_USD_USD_UTILS_STAGE_CACHE_H
14#include "pxr/usd/usdUtils/api.h"
15#include "pxr/usd/usd/stageCache.h"
23PXR_NAMESPACE_OPEN_SCOPE
48 const std::vector<std::pair<std::string, std::string> > &variantSelections);
52PXR_NAMESPACE_CLOSE_SCOPE
A scene description container that can combine with other such containers to form simple component as...
Token for efficient comparison, assignment, and hashing of known strings.
A strongly concurrency safe collection of UsdStageRefPtr s, enabling sharing across multiple clients ...
The UsdUtilsStageCache class provides a simple interface for handling a singleton usd stage cache for...
static USDUTILS_API SdfLayerRefPtr GetSessionLayerForVariantSelections(const TfToken &modelName, const std::vector< std::pair< std::string, std::string > > &variantSelections)
Given variant selections as a vector of pairs (vector in case order matters to the client),...
static USDUTILS_API UsdStageCache & Get()
Returns the singleton stage cache.
Standard pointer typedefs.
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...