Lumiera  0.pre.03
»edit your freedom«
render-invocation.hpp
Go to the documentation of this file.
1 /*
2  RENDER-INVOCATION.hpp - initiate the rendering of a single frame
3 
4  Copyright (C) Lumiera.org
5  2009, Hermann Vosseler <Ichthyostega@web.de>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 */
22 
35 #ifndef ENGINE_RENDER_INVOCATION_H
36 #define ENGINE_RENDER_INVOCATION_H
37 
38 
39 //#include "steam/state.hpp"
42 //#include "steam/engine/bufftable-obsolete.hpp"
43 
44 
45 
46 
47 namespace steam {
48 namespace engine {
49 
50 
55  {
56  ProcNode* theNode_;
57 
58  public:
59  RenderInvocation (ProcNode* exitNode)
60  : theNode_(exitNode)
61  {
62  REQUIRE (theNode_);
63  }
64 
65  size_t size() { return theNode_->nrO(); }
66 
68  BuffHandle operator[] (size_t channel);
69 
70 
71 
72  };
73 
75 
76 
77 
78 
79 
80 }} // namespace steam::engine
81 #endif
Interface to the processing nodes and the render nodes network.
uint nrO()
output channel count
Definition: procnode.hpp:155
Steam-Layer implementation namespace root.
A front-end to support the buffer management within the render nodes.
Handle for a buffer for processing data, abstracting away the actual implementation.
Definition: buffhandle.hpp:115
Key abstraction of the Render Engine: A Data processing Node.
Definition: procnode.hpp:135
BuffHandle operator[](size_t channel)
pull calculated data from the N-th node output channel