Magnum/Mesh.h file

Enum Magnum::MeshPrimitive, Magnum::MeshIndexType, function Magnum::meshIndexTypeSize()

Contents

Namespaces

namespace Magnum
Root namespace.

Classes

template<>
struct Corrade::Utility::ConfigurationValue<Magnum::MeshPrimitive>
Configuration value parser and writer.
template<>
struct Corrade::Utility::ConfigurationValue<Magnum::MeshIndexType>
Configuration value parser and writer.

Enums

enum class MeshPrimitive: UnsignedInt { Points, Lines, LineLoop, LineStrip, Triangles, TriangleStrip, TriangleFan, LinesAdjacency = UnsignedInt(GL::MeshPrimitive::LinesAdjacency) deprecated, LineStripAdjacency = UnsignedInt(GL::MeshPrimitive::LineStripAdjacency) deprecated, TrianglesAdjacency = UnsignedInt(GL::MeshPrimitive::TrianglesAdjacency) deprecated, TriangleStripAdjacency = UnsignedInt(GL::MeshPrimitive::TriangleStripAdjacency) deprecated, Patches = UnsignedInt(GL::MeshPrimitive::Patches) deprecated }
Mesh primitive type.
enum class MeshIndexType: UnsignedInt { UnsignedByte, UnsignedShort, UnsignedInt }
Mesh primitive type.

Functions

auto operator<<(Debug& debug, MeshPrimitive value) -> Debug&
Debug output operator.
auto meshIndexTypeSize(MeshIndexType type) -> UnsignedInt
Size of given mesh index type.
auto operator<<(Debug& debug, MeshIndexType value) -> Debug&
Debug output operator.