Browse Source

MaterialTools: doc++

This is not a thing yet. And when it will be, it'll be taking a PBR
representation as a start, not Phong -- that's more flexible.
pull/605/head
Vladimír Vondruš 4 years ago
parent
commit
944b8ff429
  1. 2
      src/Magnum/MaterialTools/PhongToPbrMetallicRoughness.h

2
src/Magnum/MaterialTools/PhongToPbrMetallicRoughness.h

@ -115,7 +115,7 @@ All other attributes (including ones common for Phong and PBR such as
resulting material has @ref Trade::MaterialType::PbrMetallicRoughness set and
@ref Trade::MaterialType::Phong removed.
@see @ref phongToFlat(), @ref Trade::PbrMetallicRoughnessMaterialData
@see @ref Trade::PbrMetallicRoughnessMaterialData
*/
MAGNUM_MATERIALTOOLS_EXPORT Containers::Optional<Trade::MaterialData> phongToPbrMetallicRoughness(const Trade::MaterialData& material, PhongToPbrMetallicRoughnessFlags flags = {});

Loading…
Cancel
Save