Provides basic functionality and access to shared data for prim and shader writers.
Definition: WriteJobContext.h:19
const UsdStageRefPtr & GetUsdStage() const
The USD Stage we are inthe process of building.
Definition: WriteJobContext.h:44
const USDSceneBuilderOptions & GetArgs() const
Returns the export arguments.
Definition: WriteJobContext.h:38
MaxUSDAPI ~MaxUsdWriteJobContext()=default
Destructor.
MaxUSDAPI MaxUsdWriteJobContext(UsdStageRefPtr stage, const std::string &filename, const USDSceneBuilderOptions &args)
Constructor.
const std::string & GetFilename() const
Gets the file we are exporting to.
Definition: WriteJobContext.h:50
void SetNodesToPrimsMap(const std::map< INode *, SdfPath > &nodesToPrims)
Sets the current nodes being exported and their respective paths.
const std::map< INode *, SdfPath > & GetNodesToPrimsMap() const
Returns the nodes being exported and their respective prim paths.
Definition: WriteJobContext.h:62