2 #include <Process/Dataflow/Port.hpp>
4 #include <Dataflow/PortItem.hpp>
6 #include <score_plugin_gfx_export.h>
13 UUID_METADATA(,
Process::Port, Gfx::TextureInlet,
"5ac86198-2d03-4830-9e41-a6d529922d29")
15 ,
Process::Port,
Gfx::TextureOutlet, "f1c71046-b754-49a5-8e66-d01374773dfc")
21 W_OBJECT(TextureInlet)
23 SCORE_SERIALIZE_FRIENDS
25 MODEL_METADATA_IMPL_HPP(TextureInlet)
26 TextureInlet() =
delete;
27 ~TextureInlet()
override;
28 TextureInlet(
const TextureInlet&) =
delete;
36 VIRTUAL_CONSTEXPR Process::PortType type() const noexcept
override
38 return Process::PortType::Texture;
44 W_OBJECT(TextureOutlet)
46 SCORE_SERIALIZE_FRIENDS
48 MODEL_METADATA_IMPL_HPP(TextureOutlet)
49 TextureOutlet() =
delete;
50 ~TextureOutlet()
override;
51 TextureOutlet(
const TextureOutlet&) =
delete;
59 VIRTUAL_CONSTEXPR Process::PortType type() const noexcept
override
61 return Process::PortType::Texture;
69 using Model_T = TextureInlet;
77 return score::deserialize_dyn(vis, [&](
auto&& deserializer) {
78 return new Model_T{deserializer, parent};
82 void setupInletInspector(
89 using Model_T = TextureOutlet;
97 return score::deserialize_dyn(vis, [&](
auto&& deserializer) {
98 return new Model_T{deserializer, parent};
102 void setupOutletInspector(
111 class GeometryOutlet;
116 ,
Process::Port,
Gfx::GeometryOutlet, "848061c5-e8a0-4a13-9985-e8df30ce6d4f")
124 SCORE_SERIALIZE_FRIENDS
137 VIRTUAL_CONSTEXPR Process::PortType type()
const noexcept
override
139 return Process::PortType::Geometry;
147 SCORE_SERIALIZE_FRIENDS
160 VIRTUAL_CONSTEXPR Process::PortType type()
const noexcept
override
162 return Process::PortType::Geometry;
176 return score::deserialize_dyn(vis, [&](
auto&& deserializer) {
177 return new Model_T{deserializer, parent};
192 return score::deserialize_dyn(vis, [&](
auto&& deserializer) {
193 return new Model_T{deserializer, parent};
Definition: DataStreamVisitor.hpp:202
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:38
Definition: TexturePort.hpp:121
Definition: TexturePort.hpp:144
Definition: lib/score/widgets/Layout.hpp:29
Definition: JSONVisitor.hpp:423
Definition: UuidKey.hpp:343
The id_base_t class.
Definition: Identifier.hpp:57
Binds the rendering pipeline to ossia processes.
Definition: CameraDevice.cpp:28
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
Definition: TexturePort.hpp:167
Definition: TexturePort.hpp:183
The VisitorVariant struct.
Definition: VisitorInterface.hpp:26
Definition: DocumentContext.hpp:18