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

eagine::oglp::gl_api_traits Class Reference

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.
 

Detailed Description

Policy customizing the generic C-API wrappers for the GL API.

See also
default_c_api_traits

Member Typedef Documentation

◆ combined_result

Combined result.

See also
result
opt_result
no_result

The documentation for this class 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).