Policy customizing the generic C-API wrappers for the GL API. More...
#include <oglplus/gl_api/api_traits.hpp>
Public Types | |
| template<typename R > | |
| using | no_result = gl_no_result< R > |
| Alias for result type of currently unavailable functions. | |
| template<typename R > | |
| using | result = gl_result< R > |
| Alias for result type of functions. | |
| template<typename R > | |
| using | opt_result = gl_opt_result< R > |
| Alias for result type of optionally available functions. | |
| template<typename R > | |
| using | combined_result = gl_combined_result< R > |
| Combined result. More... | |
Public Member Functions | |
| template<typename Api , typename Tag , typename Signature > | |
| auto | link_function (Api &, Tag, string_view name, type_identity< Signature >) -> std::add_pointer_t< Signature > |
| Links a GL function with the specified name and Signature. | |
Policy customizing the generic C-API wrappers for the GL API.
| using eagine::oglp::gl_api_traits::combined_result = gl_combined_result<R> |
Combined result.