55 std::set<std::string>* processedAttributes,
56 std::set<std::string>* processedSubSets,
65 std::filesystem::path outFile,
69 std::filesystem::path _inFile;
70 std::filesystem::path _outFile;
71 std::filesystem::path _outRootFile;
72 std::list<std::string> _references;
73 std::filesystem::path _tempDir;
74 std::string _entryFileName;
77 bool _ExtractUSDZFiles();
82 const uint32_t meshCounter,
83 std::set<std::string>* processedAttributes,
84 std::set<std::string>* processedSubSets,
90 std::set<std::string>* processedAttributes,
91 std::set<std::string>* processedSubSets);
97 bool _WriteNonUsdzOutput();
100 bool _RemoveFlattenedReferences();
102 bool _CreateFlattenOutput (std::filesystem::path input,
103 std::filesystem::path* output);
USDPMC_API bool EncodeStage(std::filesystem::path inFile, std::filesystem::path outFile, const VtDictionary &options)
Encode all UsdGeomMesh in a USD stage into PMC compressed format.
USDPMC_API std::vector< uint8_t > Encode(UsdGeomMesh *mesh, const VtDictionary &options, std::set< std::string > *processedAttributes, std::set< std::string > *processedSubSets, VtDictionary *resultInfo)
Encode a UsdGeomMesh into PMC compressed format.