Provides basic functionality and access to shared data for prim and shader writers.
More...
#include <WriteJobContext.h>
|
MaxUSDAPI | MaxUsdWriteJobContext (UsdStageRefPtr stage, const std::string &filename, const USDSceneBuilderOptions &args) |
| Constructor.
|
|
MaxUSDAPI | ~MaxUsdWriteJobContext ()=default |
| Destructor.
|
|
const USDSceneBuilderOptions & | GetArgs () const |
| Returns the export arguments. More...
|
|
const UsdStageRefPtr & | GetUsdStage () const |
| The USD Stage we are inthe process of building. More...
|
|
const std::string & | GetFilename () const |
| Gets the file we are exporting to. More...
|
|
void | SetNodesToPrimsMap (const std::map< INode *, SdfPath > &nodesToPrims) |
| Sets the current nodes being exported and their respective paths. More...
|
|
const std::map< INode *, SdfPath > & | GetNodesToPrimsMap () const |
| Returns the nodes being exported and their respective prim paths. More...
|
|
|
const USDSceneBuilderOptions & | args |
|
UsdStageRefPtr | stage |
|
std::string | filename |
|
std::map< INode *, SdfPath > | maxNodesToPrims |
|
Provides basic functionality and access to shared data for prim and shader writers.
◆ GetArgs()
Returns the export arguments.
- Returns
- Export arguments
◆ GetFilename()
const std::string & MaxUsdWriteJobContext::GetFilename |
( |
| ) |
const |
|
inline |
Gets the file we are exporting to.
- Returns
- The file path.
◆ GetNodesToPrimsMap()
const std::map< INode *, SdfPath > & MaxUsdWriteJobContext::GetNodesToPrimsMap |
( |
| ) |
const |
|
inline |
Returns the nodes being exported and their respective prim paths.
- Returns
- Map with the nodes and their prim path.
◆ GetUsdStage()
const UsdStageRefPtr & MaxUsdWriteJobContext::GetUsdStage |
( |
| ) |
const |
|
inline |
The USD Stage we are inthe process of building.
- Returns
- The usd
◆ SetNodesToPrimsMap()
void MaxUsdWriteJobContext::SetNodesToPrimsMap |
( |
const std::map< INode *, SdfPath > & |
nodesToPrims | ) |
|
Sets the current nodes being exported and their respective paths.
- Parameters
-
nodeToPrim | map with the nodes being exported and their paths |
The documentation for this class was generated from the following file: