DATAKIT SDK  V2026.4
Dtk_UsdWriter Class Reference

Public Member Functions

Dtk_ErrorStatus CloseLastInstance ()
 Closes the last opened instance node Must be called once for every successful OpenInstance() call. More...
 
void ConfigWriteAscii (Dtk_bool inValue)
 Reserved for future text support. More...
 
 Dtk_UsdWriter (const Dtk_string &inOutputFile, Dtk_ErrorStatus &outErr, const WriterOptions &inOptions)
 Constructor: initialises the writer for a USD file. More...
 
Dtk_ErrorStatus OpenInstance (const Dtk_string &inInstanceName, Dtk_Int64 inProtoID, Dtk_bool &outIsNewInstance, const Dtk_transfo &inTrans=Dtk_transfo(), const Dtk_RGB &inRgb=Dtk_RGB(), const Dtk_tab< Dtk_MetaDataPtr > &inMetaTab=Dtk_tab< Dtk_MetaDataPtr >())
 Opens a new Xform instance node and pushes it onto the hierarchy stack. More...
 
Dtk_ErrorStatus WriteMesh (const Dtk_MeshPtr &inMesh)
 Writes a mesh into the current instance node. More...
 
 ~Dtk_UsdWriter ()
 Destructor: flushes and closes the USD file. More...