8 #ifndef LLUVIA_CORE_NODE_NODE_H_
9 #define LLUVIA_CORE_NODE_NODE_H_
56 virtual
bool hasPort(const std::
string& name) const noexcept = 0;
100 virtual
void bind(const std::
string& name, const std::shared_ptr<
ll::
Object>& obj) = 0;
Class for command buffer.
Definition: CommandBuffer.h:63
virtual void setParameter(const std::string &name, const ll::Parameter &value)=0
Sets a parameter.
virtual bool hasPort(const std::string &name) const noexcept=0
Returns whether or not a port exists with a given name.
virtual const ll::Parameter & getParameter(const std::string &name) const =0
Gets a parameter.
virtual void record(ll::CommandBuffer &commandBuffer) const =0
Records the operations required to run this node in a ll::CommandBuffer.
virtual ll::NodeType getType() const noexcept=0
Gets the node type.
virtual std::shared_ptr< ll::Object > getPort(const std::string &name) const =0
Gets a port descriptor given its name.
virtual void bind(const std::string &name, const std::shared_ptr< ll::Object > &obj)=0
Binds a ll::Object as port index for this node.
ll::NodeState getState() const noexcept
void setState(const ll::NodeState tState)
Base class for all types that can be used in computer shaders.
Definition: Object.h:94
Definition: Parameter.h:23
NodeState
Class for node state.
Definition: NodeState.h:21
NodeType
Class for node type.
Definition: NodeType.h:19