#include <Magnum/DebugTools/FrameProfiler.h>
template<>
ConfigurationValue<Magnum::DebugTools::FrameProfilerGL::Value> struct new in 2020.06
Configuration value parser and writer.
Public static functions
-
static auto toString(Magnum::
DebugTools:: FrameProfilerGL:: Value value, ConfigurationValueFlags) -> Containers:: StringView - Writes enum value as a string.
-
static auto fromString(Containers::
StringView stringValue, ConfigurationValueFlags) -> Magnum:: DebugTools:: FrameProfilerGL:: Value - Reads enum value as a string.
Function documentation
template<>
static Containers:: StringView Corrade:: Utility:: ConfigurationValue<Magnum:: DebugTools:: FrameProfilerGL:: Value>:: toString(Magnum:: DebugTools:: FrameProfilerGL:: Value value,
ConfigurationValueFlags)
Writes enum value as a string.
If the value is invalid, returns an empty string. The returned view is always Containers::
template<>
static Magnum:: DebugTools:: FrameProfilerGL:: Value Corrade:: Utility:: ConfigurationValue<Magnum:: DebugTools:: FrameProfilerGL:: Value>:: fromString(Containers:: StringView stringValue,
ConfigurationValueFlags)
Reads enum value as a string.
If the string is invalid, returns a zero (invalid) value.