getConstBundle#
- omni::core::ObjectPtr<omni::graph::core::IConstBundle2> getConstBundle(
- omni::graph::core::GraphContextObj const &contextObj,
- omni::graph::core::ConstBundleHandle const &bundleHandle,
Acquire a single IConstBundle2 interface instance from a constant bundle handle. This function retrieves a read-only interface for a specific bundle.
- Parameters:
contextObj – The graph context to which the bundle belongs.
bundleHandle – The immutable bundle handle.
- Returns:
Smart pointer managing the lifetime of the IConstBundle2 instance.