Magnum/MeshTools/CompressIndices.h file

Function Magnum::MeshTools::compressIndices()

Contents

Namespaces

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

Functions

auto compressIndices(const Containers::StridedArrayView1D<const UnsignedInt>& indices, MeshIndexType atLeast = MeshIndexType::UnsignedShort, Long offset = 0) -> std::pair<Containers::Array<char>, MeshIndexType> new in 2020.06
Compress an index array.
auto compressIndices(const Containers::StridedArrayView2D<const char>& indices, MeshIndexType atLeast = MeshIndexType::UnsignedShort, Long offset = 0) -> std::pair<Containers::Array<char>, MeshIndexType> new in 2020.06
Compress a type-erased index array.
auto compressIndices(const Trade::MeshData& data, MeshIndexType atLeast = MeshIndexType::UnsignedShort) -> Trade::MeshData new in 2020.06
Compress mesh data indices.
auto compressIndices(Trade::MeshData&& data, MeshIndexType atLeast = MeshIndexType::UnsignedShort) -> Trade::MeshData new in 2020.06
Compress mesh data indices.
auto compressIndices(const std::vector<UnsignedInt>& indices) -> std::tuple<Containers::Array<char>, MeshIndexType, UnsignedInt, UnsignedInt> deprecated in 2020.06
Compress vertex indices.
template<class T>
auto compressIndicesAs(const std::vector<UnsignedInt>& indices) -> Containers::Array<T> deprecated in 2020.06
Compress vertex indices as given type.