Go to the documentation of this file. 1 #ifndef OGLPLUS_TEXGEN_STRIPES_NODE_HPP
9 #define OGLPLUS_TEXGEN_STRIPES_NODE_HPP
14 namespace eagine::oglp::texgen {
16 class stripes_output :
public base_output {
18 input_with_const_default<float[3]> repeat;
20 stripes_output(node_intf& parent);
26 std::ostream& definitions(std::ostream& out, compile_context& ctxt)
override;
30 :
public unary_single_output_node<
32 decltype(stripes_output::repeat),
33 &stripes_output::repeat> {
35 stripes_node& set_repeat(
float x,
float y,
float z) {
36 _output.repeat.fallback().set(x, y, z);
43 #if !OGLPLUS_LINK_LIBRARY || defined(OGLPLUS_IMPLEMENTING_LIBRARY)
44 #include <oglplus/texgen/stripes_node.inl>
47 #endif // OGLPLUS_TEXGEN_STRIPES_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