#include <SoFramebufferSampler.h>

Public Types | |
| enum | ColorBufferFormat { RGB = GL_RGB, RGB8 = GL_RGB8, RGB16 = GL_RGB16, RGB16F = GL_RGB16F_ARB, RGB32F = GL_RGB32F_ARB, RGBA = GL_RGBA, RGBA8 = GL_RGBA8, RGBA16 = GL_RGBA16, RGBA16F = GL_RGBA16F_ARB, RGBA32F = GL_RGBA32F_ARB } |
| Internal texture format for color buffer. More... | |
| enum | DepthBufferTarget { NONE = 0, RENDERBUFFER = 1, TEXTURE = 2 } |
| Depth buffer mode. More... | |
Public Member Functions | |
| SoFramebufferSampler () | |
| Constructor. | |
| virtual void | GLRender (SoGLRenderAction *action) |
| Add node to parameter list element, and call 'updatePreparation'. | |
| virtual void | getBoundingBox (SoGetBoundingBoxAction *action) |
| Compute bounding-box of subgraph. | |
Static Public Member Functions | |
| static void | initClass () |
| Initialize class with runtime type system. | |
Public Attributes | |
| SoSFEnum | colorBufferFormat |
| Internal format of color buffer. Default is RGBA. | |
| SoSFEnum | depthBufferTarget |
| Enable/Disable depth buffer. Default is TRUE. | |
| SoSFUInt32 | depthTextureUnit |
| Specifies depth texture unit identifier if depth buffer target is a texture. Default is SoTextureUnitElement::getDefault() + 1. | |
| SoSFBool | stencilBuffer |
| Enable/Disable stencil buffer. Default is FALSE. | |
| SoSFColor | clearColor |
| Color used to clear the color buffer. | |
| SoSFEnum | wrapT |
| Wrapping mode. | |
| SoSFBool | useSizeStateHints |
| Read state for size hints. | |
| SoSFBool | useFormatStateHints |
| Read state for format hints. | |
| SoSFTrigger | takeSnapshot |
| Take a snapshot of the scene. | |
Protected Member Functions | |
| ~SoFramebufferSampler () | |
| Destructor. | |
| virtual void | applyRenderAction (SoState *) |
| Function applies render action to children. | |
| virtual void | nameChanged (SoSensor *sensor) |
| Called when sampler name has changed. | |
Protected Attributes | |
| SbBool | _fldValUseSizeHints |
| SbBool | _fldValUseFormatHints |
| ColorBufferFormat | _fldValColorBufferFormat |
| DepthBufferTarget | _fldValDepthBufferTarget |
| SbBool | _fldValStencilBuffer |
| SbBool | _rebuild |
| SbBool | _takeSnapshot |
| int32_t | _dataFormat |
| SbString | _depthTextureName |
| name of the uniform ?_depth parameter | |
| SoGLFramebufferObject * | _framebufferObject |
| SoGLTexture * | _colorBuffer |
| SoGLRenderbuffer * | _depthBufferRBU |
| SoGLTexture * | _depthBufferTEX |
| SoGLRenderbuffer * | _stencilBuffer |
Definition at line 26 of file SoFramebufferSampler.h.
| SoFramebufferSampler::SoFramebufferSampler | ( | ) |
Constructor.
| SoFramebufferSampler::~SoFramebufferSampler | ( | ) | [protected] |
Destructor.
| virtual void SoFramebufferSampler::applyRenderAction | ( | SoState * | ) | [protected, virtual] |
| virtual void SoFramebufferSampler::getBoundingBox | ( | SoGetBoundingBoxAction * | action | ) | [virtual] |
| virtual void SoFramebufferSampler::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
Add node to parameter list element, and call 'updatePreparation'.
Reimplemented from SoUniformShaderParameter.
| static void SoFramebufferSampler::initClass | ( | ) | [static] |
Initialize class with runtime type system.
Reimplemented from SoSampler.
Reimplemented in SoFramebufferSampler2D, SoFramebufferSampler3D, and SoMultiPassFramebufferSampler.
| virtual void SoFramebufferSampler::nameChanged | ( | SoSensor * | sensor | ) | [protected, virtual] |
SoGLTexture* SoFramebufferSampler::_colorBuffer [protected] |
Definition at line 101 of file SoFramebufferSampler.h.
int32_t SoFramebufferSampler::_dataFormat [protected] |
Definition at line 95 of file SoFramebufferSampler.h.
SoGLRenderbuffer* SoFramebufferSampler::_depthBufferRBU [protected] |
Definition at line 102 of file SoFramebufferSampler.h.
SoGLTexture* SoFramebufferSampler::_depthBufferTEX [protected] |
Definition at line 103 of file SoFramebufferSampler.h.
SbString SoFramebufferSampler::_depthTextureName [protected] |
Definition at line 89 of file SoFramebufferSampler.h.
Definition at line 90 of file SoFramebufferSampler.h.
SbBool SoFramebufferSampler::_fldValStencilBuffer [protected] |
Definition at line 91 of file SoFramebufferSampler.h.
SbBool SoFramebufferSampler::_fldValUseFormatHints [protected] |
Definition at line 88 of file SoFramebufferSampler.h.
SbBool SoFramebufferSampler::_fldValUseSizeHints [protected] |
Definition at line 87 of file SoFramebufferSampler.h.
SoGLFramebufferObject* SoFramebufferSampler::_framebufferObject [protected] |
Definition at line 100 of file SoFramebufferSampler.h.
SbBool SoFramebufferSampler::_rebuild [protected] |
Definition at line 93 of file SoFramebufferSampler.h.
SoGLRenderbuffer* SoFramebufferSampler::_stencilBuffer [protected] |
Definition at line 104 of file SoFramebufferSampler.h.
SbBool SoFramebufferSampler::_takeSnapshot [protected] |
Definition at line 94 of file SoFramebufferSampler.h.
| SoSFColor SoFramebufferSampler::clearColor |
Internal format of color buffer. Default is RGBA.
Definition at line 56 of file SoFramebufferSampler.h.
| SoSFUInt32 SoFramebufferSampler::depthTextureUnit |
Specifies depth texture unit identifier if depth buffer target is a texture. Default is SoTextureUnitElement::getDefault() + 1.
Definition at line 62 of file SoFramebufferSampler.h.
| SoSFBool SoFramebufferSampler::stencilBuffer |
Enable/Disable stencil buffer. Default is FALSE.
Definition at line 65 of file SoFramebufferSampler.h.
| SoSFTrigger SoFramebufferSampler::takeSnapshot |
| SoSFEnum SoFramebufferSampler::wrapT |
1.5.8