OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::dynamic_c_api_constant< ClassList, T, Tag, IsIndexed > Struct Template Reference

Class wrapping a constant with value loaded at run-time. More...

#include <eagine/c_api_wrap.hpp>

Public Member Functions

template<typename I >
constexpr auto operator+ (I index) const noexcept -> std::enable_if_t<(IsIndexed &&std::is_integral_v< I >), opt_enum_value< T, ClassList, Tag >>
 Adds the specified value to the constant (it it IsIndexed).
 
- Public Member Functions inherited from eagine::c_api_constant_base
constexpr auto name () const noexcept
 Returns the name of the constant as a string.
 

Detailed Description

template<typename ClassList, typename T, typename Tag = nothing_t, bool IsIndexed = false>
struct eagine::dynamic_c_api_constant< ClassList, T, Tag, IsIndexed >

Class wrapping a constant with value loaded at run-time.


The documentation for this struct was generated from the following file:

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).