Go to the documentation of this file. 1 #ifndef OGLPLUS_TEXGEN_BASE_INPUT_HPP
9 #define OGLPLUS_TEXGEN_BASE_INPUT_HPP
13 namespace eagine::oglp::texgen {
15 class base_input :
public input_intf {
22 base_input(base_input&&) noexcept = default;
23 base_input(const base_input&) = default;
24 base_input& operator=(base_input&&) = delete;
25 base_input& operator=(const base_input&) = delete;
27 base_input(node_intf& par_node,
string_view name_str) noexcept
32 ~base_input() noexcept override;
34 node_intf& parent() noexcept {
44 bool is_connected() noexcept override;
46 bool is_connected(output_intf&) override;
48 bool can_connect(output_intf&) override;
50 bool do_connect(output_intf&);
52 bool connect(output_intf&) override;
54 void disconnect() override;
56 bool disconnect(output_intf&) override;
58 output_intf& connected_output() override;
63 void update_needed() override;
65 void prepare_connected() override;
67 bool render_connected(const render_params&) override;
72 #if !OGLPLUS_LINK_LIBRARY || defined(OGLPLUS_IMPLEMENTING_LIBRARY)
73 #include <oglplus/texgen/base_input.inl>
76 #endif // OGLPLUS_TEXGEN_BASE_INPUT_HPP
std::ptrdiff_t span_size_t
Signed span size type used by eagine.
Definition: types.hpp:36
basic_string_span< const char > string_view
Alias for const string views.
Definition: string_span.hpp:116
valid_if_between_c< T, T, Min, Max > valid_if_between
Specialization of valid_if, for values valid if between Min and Max.
Definition: between.hpp:53