removeAttributeMetadata

Defined in omni/graph/core/bundle/IBundle2.h

omni::core::Result removeAttributeMetadata(omni::graph::core::NameToken attribute, omni::graph::core::NameToken const *const fieldNames, size_t fieldCount, size_t *const removedCount = nullptr) noexcept

Remove attribute metadata fields.

Parameters
  • attribute – Name of the attribute.

  • fieldNames – Names of the attribute metadata fields to be removed.

  • fieldCount – Size of fieldNames array.

  • removedCount – Number of attribute metadata fields successfully removed.

Returns

Success if executed successfully, Fail for unsuccessful execution, InvalidArgument if arguments are invalid.