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