24#if !defined(SO_RENDERTOTARGET_H)
25#define SO_RENDERTOTARGET_H
27#include <Inventor/fields/SoMFEnum.h>
28#include <Inventor/fields/SoMFNode.h>
29#include <Inventor/fields/SoSFBool.h>
30#include <Inventor/fields/SoSFFloat.h>
31#include <Inventor/fields/SoSFInt32.h>
32#include <Inventor/fields/SoSFVec2i32.h>
33#include <Inventor/fields/SoSFVec4f.h>
34#include <Inventor/nodes/SoSeparator.h>
35#include <Inventor/SbPImpl.h>
343 static void initClass();
346 static void exitClass();
365 void commonConstructor();
Renders a scene graph using Open Inventor's Render Engine.
Multiple-value field containing any number of enumerated type values.
Multiple-value field containing any number of int32_t integers.
Multiple-value field containing any number of nodes.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Group node that ...
SoSFVec2i32 size
This field allows a custom rendering size for the render to texture.
SoSFVec4f clearColorValue
Value used to clear the color buffer before the rendering.
SoSFFloat antialiasingQuality
This field defines the antialiasing quality between 0.0 and 1.0 for the rendering.
SoSFBool clearTargets
If this field is set the targets are cleared before the rendering.
Mode
This enum defines modifiers for the auto detection mechanism.
@ AUTO
Default value, use OIV auto detection algorithm.
@ INTERNAL
Use an internal buffer for the rendering.
@ TARGET_COPY
After the rendering the rendered content is copied back to the node in CPU memory.
SoSFBool enableFragmentsQuery
This field enables or disables the query counter used to count the number of fragments rasterized dur...
SoRenderToTarget()
Default constructor.
SoMFInt32 layers
This field is used when targets are SoTexture3 or SoTextureCubeMap.
static SbBool isSupported(SoState *state=NULL)
Indicates if this node can be used on the actual hardware.
SoSFFloat clearDepthValue
Value used to clear the depth buffer before the rendering.
SoMFNode targets
This field allows to attach a texture to a specific attachment.
@ COLOR0
Default attachment used for rendering.
int getRasterizedSamplesCount() const
Returns the number of samples generated by the rasterizer during the last GLRender action.
SoMFEnum modes
This defines the mode modifier for the targets.
SoSFInt32 clearStencilValue
Value used to clear the stencil buffer before the rendering.
Field containing a single Boolean value.
Field containing a floating-point value.
Field containing a int32_t integer.
Field containing a two-dimensional vector.
Field containing a homogeneous three-dimensional vector.
Group node that saves and restores traversal state.