Magnum/MeshTools/Compile.h file

Function Magnum::MeshTools::compile()

Contents

Namespaces

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

Functions

auto compile(const Trade::MeshData2D& meshData) -> GL::Mesh
Compile 2D mesh data.
auto compile(const Trade::MeshData2D& meshData, GL::BufferUsage usage) -> std::tuple<GL::Mesh, std::unique_ptr<GL::Buffer>, std::unique_ptr<GL::Buffer>> deprecated
Compile 2D mesh data.
auto compile(const Trade::MeshData3D& meshData) -> GL::Mesh
Compile 3D mesh data.
auto compile(const Trade::MeshData3D& meshData, GL::BufferUsage usage) -> std::tuple<GL::Mesh, std::unique_ptr<GL::Buffer>, std::unique_ptr<GL::Buffer>> deprecated
Compile 3D mesh data.