Lumiera  0.pre.03
»edit your freedom«
render-invocation.cpp
Go to the documentation of this file.
1 /*
2  RenderInvocation - Interface for creating processing nodes of various kinds
3 
4  Copyright (C) Lumiera.org
5  2008, 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 
23 
33 
34 
35 namespace steam {
36 namespace engine {
37 
38  namespace { // Details...
39 
40 
41  } // (END) Details...
42 
43 
44 // using mobject::Placement;
45 // using mobject::session::Effect;
46 
47 
57  {
58  REQUIRE (theNode_);
59  REQUIRE (channel < size());
60 
61  StateProxy invocationState;
62  return theNode_->pull(invocationState, channel);
63  }
64 
65 
66 }} // namespace engine
Steam-Layer implementation namespace root.
Handle for a buffer for processing data, abstracting away the actual implementation.
Definition: buffhandle.hpp:115
Initiate a single calculation unit within the renderengine.
BuffHandle pull(State &currentProcess, uint requestedOutputNr=0) const
Engine Core operation: render and pull output from this node.
Definition: procnode.hpp:171
BuffHandle operator[](size_t channel)
pull calculated data from the N-th node output channel
Access point to the state of a frame rendering evaluation.