FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
PictureInjector.hpp
1#include <ocean/plankton/VValue.hpp>
2#include <ocean/Anemonia/RenderNamespace.hpp>
3
4#include "fisheyeDllApi.h"
5
6namespace Wizt
7{
8
11{
12 RenderNamespace::glsl fragment_shader;
13
14 const RenderNamespace::glsl&getFragmentShader() const
15 {
16 return fragment_shader;
17 }
18
19 auto operator<=>(const PictureInjector&I) const
20 {
21 return fragment_shader <=> I.fragment_shader;
22 }
23};
24
26template <>
28{
29static bool setValueFromText(PictureInjector&I, const string&s)
30 {
31 I.fragment_shader = s;
32 return true;
33 }
34
35static string Text(const PictureInjector&I)
36 {
37 return I.fragment_shader;
38 }
39
40};
41
43template <>
45{
46static bool isDifferent(const PictureInjector&A, const PictureInjector&B)
47 {
48 return A.fragment_shader != B.fragment_shader;
49 }
50};
51
52
53
54} // namespace
constexpr auto operator<=>(const basic_string< _CharT, _Traits, _Alloc > &__lhs, const _CharT *__rhs) noexcept -> decltype(__detail::__char_traits_cmp_cat< _Traits >(0))
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
note: cannot derive from FloatingSkeletonRenderer as long as independent base class TriangleRenderer ...
Definition PictureInjector.hpp:11