Open Inventor Reference
|
Element that stores the current rendering pass, a non-negative integer that can be used during multi-pass rendering to implement special effects such as motion blur or anti-aliasing.
#include <Inventor/elements/SoGLRenderPassElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual SbBool | matches (const SoElement *elt) const |
Returns TRUE if the passes match in both elements. | |
virtual SoElement * | copyMatchInfo () const |
Create and return a copy of this element. | |
virtual void | print (FILE *fp) const |
Prints element (for debugging) | |
Static Public Member Functions | |
static void | set (SoState *state, int pass) |
Sets the current rendering pass in the state. | |
static int | get (SoState *state) |
Returns current rendering pass from the state. | |
static void | initClass () |
Initializes the SoGLRenderPassElement class. | |
Protected Member Functions | |
virtual | ~SoGLRenderPassElement () |
Protected Attributes | |
int | GLRenderPass |
Definition at line 71 of file SoGLRenderPassElement.h.
virtual SoGLRenderPassElement::~SoGLRenderPassElement | ( | ) | [protected, virtual] |
static int SoGLRenderPassElement::get | ( | SoState * | state | ) | [static] |
static void SoGLRenderPassElement::initClass | ( | ) | [static] |
Reimplemented from SoElement.
Implements SoElement.
virtual void SoGLRenderPassElement::print | ( | FILE * | fp | ) | const [virtual] |
Reimplemented from SoElement.
static void SoGLRenderPassElement::set | ( | SoState * | state, |
int | pass | ||
) | [static] |
int SoGLRenderPassElement::GLRenderPass [protected] |
Definition at line 99 of file SoGLRenderPassElement.h.