Browse Source

Doc++

pull/620/head
Vladimír Vondruš 3 years ago
parent
commit
8764e25caa
  1. 8
      src/Magnum/Trade/AbstractSceneConverter.h
  2. 4
      src/MagnumPlugins/AnySceneImporter/AnySceneImporter.cpp

8
src/Magnum/Trade/AbstractSceneConverter.h

@ -1485,10 +1485,10 @@ class MAGNUM_TRADE_EXPORT AbstractSceneConverter: public PluginManager::Abstract
*
* Expects that a conversion is currently in progress,
* @ref SceneConverterFeature::AddMeshes is supported and @p attribute
* is a custom attribute. The attribute name will get used only mesh
* data added after this function has been called. If the converter
* doesn't support custom mesh attributes or doesn't support naming
* them, the call is ignored.
* is a custom attribute. The attribute name will get used only for
* mesh data added after this function has been called. If the
* converter doesn't support custom mesh attributes or doesn't support
* naming them, the call is ignored.
* @see @ref isConverting(), @ref features(),
* @ref isMeshAttributeCustom(), @ref setSceneFieldName()
*/

4
src/MagnumPlugins/AnySceneImporter/AnySceneImporter.cpp

@ -202,7 +202,7 @@ SceneField AnySceneImporter::doSceneFieldForName(const Containers::StringView na
}
Containers::String AnySceneImporter::doSceneFieldName(const SceneField name) {
/* This API can be called even if no file is opened, in that case return
an invalid ID */
an empty name */
return _in ? _in->sceneFieldName(name) : Containers::String{};
}
@ -252,7 +252,7 @@ MeshAttribute AnySceneImporter::doMeshAttributeForName(const Containers::StringV
}
Containers::String AnySceneImporter::doMeshAttributeName(const MeshAttribute id) {
/* This API can be called even if no file is opened, in that case return
an invalid ID */
an empty name */
return _in ? _in->meshAttributeName(id) : Containers::String{};
}

Loading…
Cancel
Save