24 #ifndef PXR_USD_USD_PY_EDIT_CONTEXT_H
25 #define PXR_USD_USD_PY_EDIT_CONTEXT_H
28 #include "pxr/usd/usd/api.h"
29 #include "pxr/usd/usd/editContext.h"
30 #include "pxr/usd/usd/editTarget.h"
35 PXR_NAMESPACE_OPEN_SCOPE
41 struct UsdPyEditContext
44 explicit UsdPyEditContext(
45 const std::pair<UsdStagePtr, UsdEditTarget> &stageTarget);
47 explicit UsdPyEditContext(
const UsdStagePtr &stage,
50 friend struct Usd_PyEditContextAccess;
54 std::shared_ptr<UsdEditContext> _editContext;
58 PXR_NAMESPACE_CLOSE_SCOPE
60 #endif // PXR_USD_USD_PY_EDIT_CONTEXT_H
#define TF_DECLARE_WEAK_PTRS(type)
Define standard weak pointer types.
The outermost container for scene description, which owns and presents composed prims as a scenegraph...
Defines a mapping from scene graph paths to Sdf spec paths in a SdfLayer where edits should be direct...