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

sphere_coord_node.hpp
Go to the documentation of this file.
1 #ifndef OGLPLUS_TEXGEN_SPHERE_COORD_NODE_HPP
9 #define OGLPLUS_TEXGEN_SPHERE_COORD_NODE_HPP
10 
11 #include "base_node.hpp"
12 
13 namespace eagine::oglp::texgen {
14 
15 class sphere_coord_output : public base_output {
16 public:
17  sphere_coord_output(node_intf& parent);
18 
19  string_view type_name() override;
20 
21  slot_data_type value_type() override;
22 
23  std::ostream& definitions(std::ostream& out, compile_context& ctxt) override;
24 };
25 
26 using sphere_coord_node = single_output_node<sphere_coord_output>;
27 
28 } // namespace eagine::oglp::texgen
29 
30 #if !OGLPLUS_LINK_LIBRARY || defined(OGLPLUS_IMPLEMENTING_LIBRARY)
31 #include <oglplus/texgen/sphere_coord_node.inl>
32 #endif
33 
34 #endif // OGLPLUS_TEXGEN_SPHERE_COORD_NODE_HPP
value_type
Value tree value element data type enumeration.
Definition: interface.hpp:27
basic_string_span< const char > string_view
Alias for const string views.
Definition: string_span.hpp:116
static auto type_name(const T &) noexcept -> std::string
Returns the demangled name for type T.
Definition: type_name.hpp:24

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