13#ifndef SO_MULTI_PASS_FRAMEBUFFER_SAMPLER_H
14#define SO_MULTI_PASS_FRAMEBUFFER_SAMPLER_H
21#include <Inventor/fields/SoSFUInt32.h>
22#include <Inventor/fields/SoSFFloat.h>
23#include <Inventor/fields/SoSFBool.h>
24#include <Inventor/SbLinear.h>
26class SoGLFramebufferObject;
69 return _copyColorBuffer;
86 SoGLFramebufferObject *_copyFramebufferObject;
87 SoGLTexture *_copyColorBuffer;
#define INVENTOR_SHADER_API
Define class export specifier.
Open Inventor sampler node that gets it's 2D image from a framebuffer object.
Open Inventor node to accumulate multiple render passes in a sampler.
SoGLTexture * getCopyColorBuffer() const
void applyRenderAction(SoState *) override
Function applies render action to children multiple times.
SoSFFloat epsilon
Smallest value that keeps the node still iterating.
SoSFUInt32 id
Id that is used to identify this node if nested.
unsigned int curPass()
Current render pass, starting with '0'. Only valid if read by child nodes!
~SoMultiPassFramebufferSampler() override
Destructor.
SoMultiPassFramebufferSampler()
Constructor.
static void initClass()
Initialize class with runtime type system.
SoSFFloat value
Value to compare against 'epsilon'.
SoSFBool initSamplerCopy
Initialize the copy FBO texture with all zero.
SoSFUInt32 numPasses
Number of times to traverse the subgraph below.