Go to the documentation of this file. 1 #ifndef OGLPLUS_TEXGEN_MAP_NODE_HPP
9 #define OGLPLUS_TEXGEN_MAP_NODE_HPP
14 namespace eagine::oglp::texgen {
16 class map_output :
public base_output {
18 input_with_const_default<float[4]> input;
19 input_with_const_default<float[3]> coord;
21 map_output(node_intf& parent);
27 std::ostream& definitions(std::ostream& out, compile_context& ctxt)
override;
31 :
public binary_single_output_node<
33 decltype(map_output::input),
35 decltype(map_output::coord),
38 map_node& set_coord(
float x,
float y,
float z) {
39 _output.coord.fallback().set(x, y, z);
46 #if !OGLPLUS_LINK_LIBRARY || defined(OGLPLUS_IMPLEMENTING_LIBRARY)
47 #include <oglplus/texgen/map_node.inl>
50 #endif // OGLPLUS_TEXGEN_MAP_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