24#if !defined(SO_VERTEXATTRIBFEEDBACK_H)
25#define SO_VERTEXATTRIBFEEDBACK_H
27#include <Inventor/fields/SoSFBool.h>
28#include <Inventor/fields/SoSFEnum.h>
29#include <Inventor/nodes/SoSeparator.h>
30#include <Inventor/SbPImpl.h>
243 static void initClass();
246 static void exitClass();
255 void commonConstructor();
Class for smart character strings.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
Performs a generic traversal of a scene graph or path.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Computes a distr...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> OpenGL buffer ob...
Renders a scene graph using Open Inventor's Render Engine.
Computes bounding box of a scene.
Computes transformation matrix for a subgraph.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Counts number of...
Allows nodes in a graph to receive input events.
Intersects objects with a ray cast into scene.
Field containing a single Boolean value.
Field containing an enumerated value.
Searches for nodes in a scene graph.
Group node that saves and restores traversal state.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Node to record v...
SoVertexAttribFeedback()
Default constructor.
SoSFBool autoResizeBuffers
Set this field to TRUE when the size of the recorded varyings is not known.
PrimitiveType
This enum is used to setup the expected recorded primitive type from the shaders.
@ POINTS
The shader is supposed to generate POINTS.
@ LINES
The shader is supposed to generate LINES.
SoSFBool queryGeneratedPrimitivesCount
Read back the number of recorded primitives.
int getGeneratedPrimitivesCount() const
This function returns the number of generated primitives during the traversal of the sub scene graph.
void registerFeedback(const SbString &varyingName, SoBufferObject *bufferObject, int primitiveSize=-1)
This function allows to attach a buffer object to a specific varying of the shader pushed on the stat...
static SbBool isSupported(SoState *state)
This function indicates if the vertex attributes feedback feature is available on this system.
SoSFEnum primitiveType
The type of primitive recorded during traversal.
BufferMode
This enum is used by the field buffersMode to describe the data packing format in the buffer objects.
@ INTERLEAVED
All varyings are recorded, interleaved, in a single buffer object.
SoSFBool disableFragmentProcessing
Turn off the fragment rasterizer.
void unregisterFeedback(const SbString &varyingName)
This function is used to unregister a varying registered with the registerFeedback function.
SoSFEnum buffersMode
The buffer mode used to record the primitives.