createBundleMetadata
Defined in omni/graph/core/bundle/IBundle2.h
-
omni::core::Result createBundleMetadata(omni::graph::core::NameToken const *const fieldNames, omni::graph::core::Type const *const fieldTypes, size_t fieldCount, size_t const *const elementCount = nullptr, omni::graph::core::AttributeDataHandle *const bundleMetadata = nullptr, size_t *const createdCount = nullptr) noexcept
Create bundle metadata fields in this bundle.
- Parameters
fieldNames – Names of new bundle metadata fields.
fieldTypes – Types of new bundle metadata fields.
elementCount – Number of elements in the array, can be
nullptr
if field is not an array.fieldCount – Size of fieldNames and fieldTypes arrays.
bundleMetadata – Handles to the newly created bundle metadata fields. Can be
nullptr
if no output is required.createdCount – Number of child bundles successfully created.
- Returns
Success if executed successfully, Fail for unsuccessful execution, InvalidArgument if arguments are invalid.