getBundles#
- bool getBundles(
- omni::graph::core::GraphContextObj const &contextObj,
- omni::graph::core::BundleHandle const *const bundleHandles,
- size_t bundleCount,
- omni::core::ObjectPtr<omni::graph::core::IBundle2> *const bundles,
Acquire IBundle2 interface instances from bundle handles. This overloaded function retrieves writable bundle interfaces for the provided handles.
- Parameters:
contextObj – The graph context to which the bundles belong.
bundleHandles – Array of bundle handles.
bundleCount – Number of elements in the bundleHandles array.
bundles – Output array of smart pointers managing IBundle2 instances.
- Returns:
true if interfaces were successfully acquired for all bundles, false otherwise.