Magnum/MeshTools/Interleave.h file

Function Magnum::MeshTools::interleave(), Magnum::MeshTools::interleaveInto(), Magnum::MeshTools::isInterleaved(), Magnum::MeshTools::interleavedLayout()

Contents

Namespaces

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

Functions

template<class T, class ... U>
auto interleave(const T& first, const U&... next) -> Containers::Array<char>
Interleave vertex attributes.
template<class T, class ... U>
void interleaveInto(Containers::ArrayView<char> buffer, const T& first, const U&... next)
Interleave vertex attributes into existing buffer.
auto isInterleaved(const Trade::MeshData& data) -> bool new in 2020.06
If the mesh data is interleaved.
auto interleavedData(const Trade::MeshData& data) -> Containers::StridedArrayView2D<const char> new in 2020.06
Type-erased view on interleaved mesh data.
auto interleavedMutableData(Trade::MeshData& data) -> Containers::StridedArrayView2D<char> new in 2020.06
Mutable type-erased view on interleaved mesh data.
auto interleavedLayout(const Trade::MeshData& data, UnsignedInt vertexCount, Containers::ArrayView<const Trade::MeshAttributeData> extra = {}) -> Trade::MeshData new in 2020.06
Create an interleaved mesh layout.
auto interleavedLayout(Trade::MeshData&& data, UnsignedInt vertexCount, Containers::ArrayView<const Trade::MeshAttributeData> extra = {}) -> Trade::MeshData new in 2020.06
Create an interleaved mesh layout.
auto interleave(const Trade::MeshData& data, Containers::ArrayView<const Trade::MeshAttributeData> extra = {}) -> Trade::MeshData new in 2020.06
Interleave mesh data.
auto interleave(Trade::MeshData&& data, Containers::ArrayView<const Trade::MeshAttributeData> extra = {}) -> Trade::MeshData new in 2020.06
Interleave mesh data.