MeVisLabToolboxReference
SoMultiPassFramebufferSampler Class Reference

Open Inventor node to accumulate multiple render passes in a sampler. More...

#include <SoMultiPassFramebufferSampler.h>

Inheritance diagram for SoMultiPassFramebufferSampler:
SoFramebufferSampler2D SoFramebufferSampler SoSampler SoUniformShaderParameter SoShaderParameter

List of all members.

Public Member Functions

 SoMultiPassFramebufferSampler ()
 Constructor.
unsigned int curPass ()
 Current render pass, starting with '0'. Only valid if read by child nodes!
SoGLTexture * getCopyColorBuffer () const

Static Public Member Functions

static void initClass ()
 Initialize class with runtime type system.

Public Attributes

SoSFUInt32 numPasses
 Number of times to traverse the subgraph below.
SoSFFloat epsilon
 Smallest value that keeps the node still iterating.
SoSFFloat value
 Value to compare against 'epsilon'.
SoSFUInt32 id
 Id that is used to identify this node if nested.
SoSFBool initSamplerCopy
 Initialize the copy FBO texture with all zero.

Protected Member Functions

virtual ~SoMultiPassFramebufferSampler ()
 Destructor.
virtual void applyRenderAction (SoState *)
 Function applies render action to children multiple times.

Protected Attributes

unsigned int _curPass
SbVec2s _prevSize
uint32_t _prevFormat

Detailed Description

Open Inventor node to accumulate multiple render passes in a sampler.

Definition at line 22 of file SoMultiPassFramebufferSampler.h.


Constructor & Destructor Documentation

SoMultiPassFramebufferSampler::SoMultiPassFramebufferSampler ( )

Constructor.

virtual SoMultiPassFramebufferSampler::~SoMultiPassFramebufferSampler ( ) [protected, virtual]

Destructor.


Member Function Documentation

virtual void SoMultiPassFramebufferSampler::applyRenderAction ( SoState *  ) [protected, virtual]

Function applies render action to children multiple times.

Reimplemented from SoFramebufferSampler.

unsigned int SoMultiPassFramebufferSampler::curPass ( ) [inline]

Current render pass, starting with '0'. Only valid if read by child nodes!

Definition at line 54 of file SoMultiPassFramebufferSampler.h.

SoGLTexture* SoMultiPassFramebufferSampler::getCopyColorBuffer ( ) const [inline]

Definition at line 60 of file SoMultiPassFramebufferSampler.h.

static void SoMultiPassFramebufferSampler::initClass ( ) [static]

Initialize class with runtime type system.

Reimplemented from SoFramebufferSampler2D.


Member Data Documentation

unsigned int SoMultiPassFramebufferSampler::_curPass [protected]

Definition at line 66 of file SoMultiPassFramebufferSampler.h.

Definition at line 68 of file SoMultiPassFramebufferSampler.h.

Definition at line 67 of file SoMultiPassFramebufferSampler.h.

Smallest value that keeps the node still iterating.

Definition at line 34 of file SoMultiPassFramebufferSampler.h.

Id that is used to identify this node if nested.

Definition at line 40 of file SoMultiPassFramebufferSampler.h.

Initialize the copy FBO texture with all zero.

Definition at line 43 of file SoMultiPassFramebufferSampler.h.

Number of times to traverse the subgraph below.

Definition at line 31 of file SoMultiPassFramebufferSampler.h.

Value to compare against 'epsilon'.

Definition at line 37 of file SoMultiPassFramebufferSampler.h.


The documentation for this class was generated from the following file: