Magnum/MeshTools/Compile.h file

Function Magnum::MeshTools::compile()

Contents

Namespaces

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

Enums

enum class CompileFlag: UnsignedByte { GenerateFlatNormals = 1 << 0, GenerateSmoothNormals = 1 << 1, NoWarnOnCustomAttributes = 1 << 2 new in 2020.06 } new in 2019.10
Mesh compilation flag.

Typedefs

using CompileFlags = Containers::EnumSet<CompileFlag> new in 2019.10
Mesh compilation flags.

Functions

auto compile(const Trade::MeshData& meshData, CompileFlags flags) -> GL::Mesh new in 2020.06
Compile mesh data.
auto compile(const Trade::MeshData& meshData, GL::Buffer& indices, GL::Buffer& vertices) -> GL::Mesh new in 2020.06
Compile mesh data using external buffers.
auto compile(const Trade::MeshData2D& meshData) -> GL::Mesh deprecated in 2020.06
Compile 2D mesh data.
auto compile(const Trade::MeshData3D& meshData, CompileFlags flags = {}) -> GL::Mesh deprecated in 2020.06
Compile 3D mesh data.