Go to the documentation of this file. 1 #ifndef OGLPLUS_TEXGEN_BORDER2D_NODE_HPP
9 #define OGLPLUS_TEXGEN_BORDER2D_NODE_HPP
15 namespace eagine::oglp::texgen {
17 enum class border2d_mode { min, max };
19 class border2d_output :
public base_output {
22 input_with_const_default<float[4]> input;
24 border2d_output(node_intf& parent);
30 std::ostream& definitions(std::ostream& out, compile_context& ctxt)
override;
34 :
public unary_single_output_node<
36 decltype(border2d_output::input),
37 &border2d_output::input> {
39 border2d_node() =
default;
41 border2d_node& set_type(border2d_mode mode) {
49 #if !OGLPLUS_LINK_LIBRARY || defined(OGLPLUS_IMPLEMENTING_LIBRARY)
50 #include <oglplus/texgen/border2d_node.inl>
53 #endif // OGLPLUS_TEXGEN_BORDER2D_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