getBundle#

omni::core::ObjectPtr<omni::graph::core::IBundle2> getBundle(
omni::graph::core::GraphContextObj const &contextObj,
omni::graph::core::BundleHandle const &bundleHandle,
) noexcept#

Acquire a single IBundle2 interface instance from a bundle handle. This function retrieves a writable interface for a specific bundle.

Parameters:
  • contextObj – The graph context to which the bundle belongs.

  • bundleHandle – The bundle handle.

Returns:

Smart pointer managing the lifetime of the IBundle2 instance.