API Documentation
CompositorNode.h
1 // CompositorNode.h
3 //
5 
6 namespace nkGraphics
7 {
12  {
13  public :
14 
23  CompositorNode (const CompositorNode&) = delete ;
27  virtual ~CompositorNode () ;
28 
34  virtual TargetOperations* addOperations () = 0 ;
40  TargetOperations* getOperations (unsigned int index) const ;
44  unsigned int getOperationsCount () const ;
50  virtual void deleteOperations (unsigned int index) ;
58  virtual void changeOperationsOrder (unsigned int fromIndex, unsigned int toIndex) ;
59 
60  // Getters
68  bool getActive () const ;
69 
70  // Setters
76  void setName (const nkMemory::StringView& name) ;
83  virtual void setActive (bool value) ;
84 
89  virtual void renderOperations () ;
90 
96  virtual void exportClassToTree (nkExport::Node* rootNode) override ;
102  virtual void importClassFromTree (nkExport::Node* rootNode) override ;
103 
104  // Operators
109  } ;
110 }
nkGraphics::CompositorNode::setActive
virtual void setActive(bool value)
nkGraphics::CompositorNode::getOperations
TargetOperations * getOperations(unsigned int index) const
nkGraphics::CompositorNode::CompositorNode
CompositorNode(const CompositorNode &)=delete
nkGraphics::CompositorNode::~CompositorNode
virtual ~CompositorNode()
nkExport::Exportable
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkGraphics::CompositorNode::deleteOperations
virtual void deleteOperations(unsigned int index)
nkGraphics::CompositorNode::CompositorNode
CompositorNode()
nkGraphics::CompositorNode::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkGraphics::CompositorNode
A node in the rendering graph described by a Compositor.
Definition: CompositorNode.h:12
nkGraphics::TargetOperations
Describes a target operation set.
Definition: TargetOperations.h:15
nkGraphics::CompositorNode::operator=
CompositorNode & operator=(const CompositorNode &)=delete
nkGraphics::CompositorNode::changeOperationsOrder
virtual void changeOperationsOrder(unsigned int fromIndex, unsigned int toIndex)
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkGraphics::CompositorNode::addOperations
virtual TargetOperations * addOperations()=0
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::CompositorNode::getName
nkMemory::StringView getName() const
nkGraphics::CompositorNode::setName
void setName(const nkMemory::StringView &name)
nkGraphics::CompositorNode::getActive
bool getActive() const
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::CompositorNode::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkGraphics::CompositorNode::renderOperations
virtual void renderOperations()
nkGraphics::CompositorNode::getOperationsCount
unsigned int getOperationsCount() const