createBundle#

omni::core::ObjectPtr<omni::graph::core::IBundle2> createBundle(
omni::graph::core::GraphContextObj const &contextObj,
omni::fabric::PathC path,
) noexcept#

Create a single bundle at the given path and acquire an IBundle2 interface instance. This function is a convenience wrapper for creating individual bundles.

Parameters:
  • contextObj – The graph context where the bundle will be created.

  • path – Location for the new bundle.

Returns:

Smart pointer managing the lifetime of the IBundle2 instance.