Magnum/MeshTools/Compile.h file

Function Magnum::MeshTools::compile()

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& mesh, CompileFlags flags) -> GL::Mesh new in 2020.06
Compile OpenGL mesh data.
auto compile(const Trade::MeshData& mesh) -> GL::Mesh new in 2020.06
auto compile(const Trade::MeshData& mesh, GL::Buffer& indices, GL::Buffer& vertices) -> GL::Mesh new in 2020.06
Compile mesh data using external buffers.
auto compile(const Trade::MeshData& mesh, GL::Buffer& indices, GL::Buffer&& vertices) -> GL::Mesh new in 2020.06
auto compile(const Trade::MeshData& mesh, GL::Buffer&& indices, GL::Buffer& vertices) -> GL::Mesh new in 2020.06
auto compile(const Trade::MeshData& mesh, GL::Buffer&& indices, GL::Buffer&& vertices) -> GL::Mesh new in 2020.06
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.
auto compiledPerVertexJointCount(const Trade::MeshData& mesh) -> Containers::Pair<UnsignedInt, UnsignedInt> new in Git master
Compiled per-vertex joint count for given mesh data.