template<>
Corrade::Utility::ConfigurationValue<Magnum::VertexFormat> struct new in 2020.06

Configuration value parser and writer.

Public static functions

static auto toString(Magnum::VertexFormat value, ConfigurationValueFlags) -> Containers::String
Write enum value as string.
static auto fromString(Containers::StringView stringValue, ConfigurationValueFlags) -> Magnum::VertexFormat
Read enum value as string.

Function documentation

template<>
static Containers::String Corrade::Utility::ConfigurationValue<Magnum::VertexFormat>::toString(Magnum::VertexFormat value, ConfigurationValueFlags)

Write enum value as string.

If the value is invalid, returns empty string.

template<>
static Magnum::VertexFormat Corrade::Utility::ConfigurationValue<Magnum::VertexFormat>::fromString(Containers::StringView stringValue, ConfigurationValueFlags)

Read enum value as string.

If the value is invalid, returns a zero (invalid) format.