Go to the documentation of this file.
27 #ifndef vtkTransformFeedback_h
28 #define vtkTransformFeedback_h
30 #include "vtkRenderingOpenGL2Module.h"
58 : Role(role), Identifier(id) {}
78 return this->Varyings;
84 static size_t GetBytesPerVertex(VaryingRole role);
89 size_t GetBytesPerVertex()
const;
103 void SetNumberOfVertices(
int drawMode,
size_t inputVerts);
104 vtkGetMacro(NumberOfVertices,
size_t)
111 size_t GetBufferSize()
const;
133 vtkGetMacro(BufferHandle,
int)
143 vtkGetMacro(PrimitiveMode,
int)
165 vtkGetMacro(BufferData,
void*)
171 void ReleaseGraphicsResources();
178 void ReleaseBufferData(
bool freeBuffer =
true);
190 std::vector<VaryingMetaData> Varyings;
191 size_t NumberOfVertices;
197 unsigned char *BufferData;
207 return 4 *
sizeof(
float);
209 return 4 *
sizeof(
float);
212 vtkGenericWarningMacro(
"Unknown role enum value: " << role);
216 #endif // vtkTransformFeedback_h
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
abstract base class for most VTK objects
window superclass for vtkRenderWindow
The ShaderProgram uses one or more Shader objects.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.