Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
fmt::formatter< gl::GLenum > Struct Reference

#include <modules/opengl/inviwoopengl.h>

Inheritance diagram for fmt::formatter< gl::GLenum >:

Public Member Functions

auto format (gl::GLenum val, fmt::format_context &ctx) const

Detailed Description

fmt::formatter specialization for glbinding's GLenum enum class. glbinding uses strongly-typed enum classes instead of plain integers. This formatter enables direct use of GLenum in fmt::format, log messages, and exceptions by formatting it as its underlying unsigned int value.


The documentation for this struct was generated from the following file:
  • modules/opengl/include/modules/opengl/inviwoopengl.h