Go to the documentation of this file. 1 #ifndef OGLPLUS_GL_API_API_TRAITS_HPP
9 #define OGLPLUS_GL_API_API_TRAITS_HPP
13 namespace eagine::oglp {
40 template <
typename Api,
typename Tag,
typename Signature>
42 -> std::add_pointer_t<Signature>;
45 std::string _full_name;
50 #endif // OGLPLUS_GL_API_API_TRAITS_HPP
Class wrapping the result of a C-API function call.
Definition: c_api_wrap.hpp:210
api_no_result< Result, gl_no_result_info > gl_no_result
Alias for always-invalid result of a missing GL API function call.
Definition: result.hpp:120
api_combined_result< Result, gl_result_info > gl_combined_result
Alias for a result that may come from mutiple difference GL API functions.
Definition: result.hpp:142
Primary template for conditionally valid values.
Definition: decl.hpp:49
gl_combined_result< R > combined_result
Combined result.
Definition: api_traits.hpp:37
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.
Definition: api_traits.hpp:18
Template type used mostly for function type-tag dispatching.
Definition: type_identity.hpp:19
Policy class customizing C-API constant value loading and function linking.
Definition: c_api_wrap.hpp:901
api_opt_result< Result, gl_result_info > gl_opt_result
Alias for conditionally-valid result of a GL API function call.
Definition: result.hpp:134