24 #ifndef PXR_USD_PCP_LAYER_PREFETCH_REQUEST_H 25 #define PXR_USD_PCP_LAYER_PREFETCH_REQUEST_H 28 #include "pxr/usd/pcp/api.h" 34 PXR_NAMESPACE_OPEN_SCOPE
36 class Pcp_MutedLayers;
59 void Run(
const Pcp_MutedLayers& mutedLayers);
64 typedef std::pair<SdfLayerRefPtr, SdfLayer::FileFormatArguments> _Request;
65 std::set<_Request> _sublayerRequests;
67 std::set<SdfLayerRefPtr> _retainedLayers;
70 PXR_NAMESPACE_CLOSE_SCOPE
72 #endif // PXR_USD_PCP_LAYER_PREFETCH_REQUEST_H PCP_API void Run(const Pcp_MutedLayers &mutedLayers)
Run the queued requests, returning when complete.
PcpLayerPrefetchRequest represents a request to pre-fetch and retain a set of layers in memory.
PCP_API void RequestSublayerStack(const SdfLayerRefPtr &layer, const SdfLayer::FileFormatArguments &args)
Enqueue a request to pre-fetch of the sublayers of layer.
std::map< std::string, std::string > FileFormatArguments
Type for specifying additional file format-specific arguments to layer API.