Magnum/MaterialTools/RemoveDuplicates.h file new in Git master

Function Magnum::MaterialTools::removeDuplicatesInPlace(), Magnum::MaterialTools::removeDuplicatesInPlaceInto(), Magnum::MaterialTools::removeDuplicates(), Magnum::MaterialTools::removeDuplicatesInto()

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::MaterialTools new in Git master
Material tools.

Functions

auto removeDuplicatesInPlace(const Containers::Iterable<Trade::MaterialData>& materials) -> Containers::Pair<Containers::Array<UnsignedInt>, std::size_t> new in Git master
Remove duplicate materials from a list in-place.
auto removeDuplicatesInPlaceInto(const Containers::Iterable<Trade::MaterialData>& materials, const Containers::StridedArrayView1D<UnsignedInt>& mapping) -> std::size_t new in Git master
Remove duplicate materials from a list in-place and put mapping into given output array.
auto removeDuplicates(const Containers::Iterable<const Trade::MaterialData>& materials) -> Containers::Pair<Containers::Array<UnsignedInt>, std::size_t> new in Git master
Remove duplicate materials from a list.
auto removeDuplicatesInto(const Containers::Iterable<const Trade::MaterialData>& materials, const Containers::StridedArrayView1D<UnsignedInt>& mapping) -> std::size_t new in Git master
Remove duplicate materials from a list in-place and put mapping into given output array.