Magnum/GL/Mesh.h file

Class Magnum::GL::Mesh, enum Magnum::GL::MeshPrimitive, Magnum::GL::MeshIndexType, function Magnum::GL::meshPrimitive(), Magnum::GL::meshIndexType(), Magnum::GL::meshIndexTypeSize()

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::GL
OpenGL wrapping layer.

Classes

class Magnum::GL::Mesh
Mesh.

Enums

enum class MeshPrimitive: GLenum { Points = GL_POINTS, Lines = GL_LINES, LineLoop = GL_LINE_LOOP, LineStrip = GL_LINE_STRIP, LinesAdjacency = GL_LINES_ADJACENCY, LineStripAdjacency = GL_LINE_STRIP_ADJACENCY, Triangles = GL_TRIANGLES, TriangleStrip = GL_TRIANGLE_STRIP, TriangleFan = GL_TRIANGLE_FAN, TrianglesAdjacency = GL_TRIANGLES_ADJACENCY, TriangleStripAdjacency = GL_TRIANGLE_STRIP_ADJACENCY, Patches = GL_PATCHES }
Mesh primitive type.
enum class MeshIndexType: GLenum { UnsignedByte = GL_UNSIGNED_BYTE, UnsignedShort = GL_UNSIGNED_SHORT, UnsignedInt = GL_UNSIGNED_INT }
Mesh index type.

Functions

auto hasMeshPrimitive(Magnum::MeshPrimitive primitive) -> bool new in 2020.06
Check availability of a generic mesh primitive.
auto meshPrimitive(Magnum::MeshPrimitive primitive) -> MeshPrimitive
Convert generic mesh primitive to OpenGL mesh primitive.
auto meshIndexType(Magnum::MeshIndexType type) -> MeshIndexType
Convert generic mesh index type to OpenGL mesh index type.
auto meshIndexTypeSize(MeshIndexType type) -> UnsignedInt new in Git master
Size of given mesh index type.
auto operator<<(Debug& debug, MeshPrimitive value) -> Debug&
Debug output operator.
auto operator<<(Debug& debug, MeshIndexType value) -> Debug&
Debug output operator.