Magnum/MeshTools/CompressIndices.h file

Function Magnum::MeshTools::compressIndices()

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::MeshTools
Mesh tools.

Functions

auto compressIndices(const std::vector<UnsignedInt>& indices) -> std::tuple<Containers::Array<char>, MeshIndexType, UnsignedInt, UnsignedInt>
Compress vertex indices.
template<class T>
auto compressIndicesAs(const std::vector<UnsignedInt>& indices) -> Containers::Array<T>
Compress vertex indices as given type.