#include "../math/vector.hpp"
#include "config.hpp"
#include "enum_types.hpp"
#include <eagine/type_identity.hpp>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
eagine | |
Common code is placed in this namespace. | |
Functions | |
template<typename T > | |
constexpr auto | eagine::oglp::data_type_of () noexcept -> data_type |
Returns a data type for the specified C++ type T. More... | |
template<typename T > | |
constexpr auto | eagine::oglp::pixel_data_type_of () noexcept -> pixel_data_type |
Returns a pixel data type for the specified C++ type T. More... | |
template<typename T > | |
constexpr auto | eagine::oglp::sl_data_type_of () noexcept -> sl_data_type |
Returns a shading language data type for the specified C++ type T. More... | |
template<typename T > | |
constexpr auto | eagine::oglp::pixel_format_of () noexcept -> pixel_format |
Returns the default pixel format for the specified C++ type T. More... | |
template<typename T > | |
constexpr auto | eagine::oglp::internal_format_of () noexcept -> pixel_internal_format |
Returns the default pixel internal format for the specified C++ type T. More... | |
Variables | |
template<typename T > | |
constexpr const bool | eagine::oglp::is_gl_data_type_v |
Trait indicating that T is one of GL basic (pixel) data types. | |
Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt