Magnum/Mesh.h file

Enum Magnum::MeshPrimitive, Magnum::MeshIndexType, function Magnum::isMeshPrimitiveImplementationSpecific(), Magnum::meshPrimitiveWrap(), Magnum::meshPrimitiveUnwrap(), 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 = 1, Lines, LineLoop, LineStrip, Triangles, TriangleStrip, TriangleFan, Instances new in 2020.06, Faces new in 2020.06, Edges new in 2020.06 }
Mesh primitive type.
enum class MeshIndexType: UnsignedByte { UnsignedByte = 1, UnsignedShort, UnsignedInt }
Mesh index type.

Functions

auto operator<<(Debug& debug, MeshPrimitive value) -> Debug&
Debug output operator.
auto isMeshPrimitiveImplementationSpecific(MeshPrimitive primitive) -> bool constexpr new in 2020.06
Whether a MeshPrimitive value wraps an implementation-specific identifier.
template<class T>
auto meshPrimitiveWrap(T implementationSpecific) -> MeshPrimitive constexpr new in 2020.06
Wrap an implementation-specific mesh primitive identifier in MeshPrimitive.
template<class T = UnsignedInt>
auto meshPrimitiveUnwrap(MeshPrimitive primitive) -> T constexpr new in 2020.06
Unwrap an implementation-specific mesh primitive identifier from MeshPrimitive.
auto meshIndexTypeSize(MeshIndexType type) -> UnsignedInt
Size of given mesh index type.
auto operator<<(Debug& debug, MeshIndexType value) -> Debug&
Debug output operator.