API Documentation
Compositor.h
1 // Compositor.h
3 //
5 
6 namespace nkGraphics
7 {
23  {
24  public :
25 
29  virtual ~Compositor () ;
30 
36  virtual CompositorNode* addNode () = 0 ;
42  virtual void deleteNode (unsigned int index) ;
50  virtual void changeNodeOrder (unsigned int fromIndex, unsigned int toIndex) ;
54  virtual void clearNodes () ;
55 
59  unsigned int getNodeCount () const ;
64  CompositorNode* getNode (unsigned int index) const ;
65 
74  virtual void renderChain () ;
75 
81  virtual void exportClassToTree (nkExport::Node* rootNode) override ;
87  virtual void importClassFromTree (nkExport::Node* rootNode) override ;
88 
89  // Operators
93  Compositor& operator= (const Compositor&) = delete ;
94  } ;
95 }
nkExport::Exportable
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkGraphics::Compositor
A compositor, describing how to compose the rendering pipeline.
Definition: Compositor.h:23
nkGraphics::Compositor::changeNodeOrder
virtual void changeNodeOrder(unsigned int fromIndex, unsigned int toIndex)
nkGraphics::Compositor::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkGraphics::Compositor::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkGraphics::CompositorNode
A node in the rendering graph described by a Compositor.
Definition: CompositorNode.h:12
nkGraphics::Compositor::getNode
CompositorNode * getNode(unsigned int index) const
nkGraphics::Compositor::getNodeCount
unsigned int getNodeCount() const
nkGraphics::Compositor::operator=
Compositor & operator=(const Compositor &)=delete
nkGraphics::Compositor::~Compositor
virtual ~Compositor()
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkGraphics::Compositor::deleteNode
virtual void deleteNode(unsigned int index)
nkGraphics::Compositor::clearNodes
virtual void clearNodes()
nkGraphics::Compositor::renderChain
virtual void renderChain()
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::Compositor::addNode
virtual CompositorNode * addNode()=0