file
CompressIndices.hFunction Magnum::
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) -> Containers::Pair<Containers::Array<char>, MeshIndexType> new in 2020.06 - Compress an index array.
-
auto compressIndices(const Containers::
StridedArrayView1D<const UnsignedShort>& indices, MeshIndexType atLeast = MeshIndexType::UnsignedShort, Long offset = 0) -> Containers::Pair<Containers::Array<char>, MeshIndexType> new in 2020.06 -
auto compressIndices(const Containers::
StridedArrayView1D<const UnsignedByte>& indices, MeshIndexType atLeast = MeshIndexType::UnsignedShort, Long offset = 0) -> Containers::Pair<Containers::Array<char>, MeshIndexType> new in 2020.06 -
auto compressIndices(const Containers::
StridedArrayView1D<const UnsignedInt>& indices, Long offset) -> Containers::Pair<Containers::Array<char>, MeshIndexType> new in 2020.06 -
auto compressIndices(const Containers::
StridedArrayView1D<const UnsignedShort>& indices, Long offset) -> Containers::Pair<Containers::Array<char>, MeshIndexType> new in 2020.06 -
auto compressIndices(const Containers::
StridedArrayView1D<const UnsignedByte>& indices, Long offset) -> Containers::Pair<Containers::Array<char>, MeshIndexType> new in 2020.06 -
auto compressIndices(const Containers::
StridedArrayView2D<const char>& indices, MeshIndexType atLeast = MeshIndexType::UnsignedShort, Long offset = 0) -> Containers::Pair<Containers::Array<char>, MeshIndexType> new in 2020.06 - Compress a type-erased index array.
-
auto compressIndices(const Containers::
StridedArrayView2D<const char>& indices, Long offset) -> Containers::Pair<Containers::Array<char>, MeshIndexType> new in 2020.06 - auto compressIndices(const Trade::MeshData& mesh, MeshIndexType atLeast = MeshIndexType::UnsignedShort) -> Trade::MeshData new in 2020.06
- Compress mesh data indices.
- auto compressIndices(Trade::MeshData&& mesh, 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.