15#ifndef vtkTransformFeedback_h
16#define vtkTransformFeedback_h
19#include "vtkRenderingOpenGL2Module.h"
24VTK_ABI_NAMESPACE_BEGIN
71 const std::vector<VaryingMetaData>&
GetVaryings()
const {
return this->Varyings; }
76 static size_t GetBytesPerVertex(VaryingRole role);
94 vtkSetMacro(NumberOfVertices,
size_t);
96 vtkGetMacro(NumberOfVertices,
size_t);
136 vtkSetMacro(PrimitiveMode,
int);
137 vtkGetMacro(PrimitiveMode,
int);
147 void Allocate(
int nbBuffers,
size_t size,
unsigned int hint);
170 vtkGetMacro(BufferData,
void*);
195 std::vector<VaryingMetaData> Varyings;
196 size_t NumberOfVertices;
199 std::vector<vtkOpenGLBufferObject*> Buffers;
202 unsigned char* BufferData;
211 return 4 *
sizeof(float);
213 return 4 *
sizeof(float);
215 return 3 *
sizeof(float);
220 vtkGenericWarningMacro(
"Unknown role enum value: " << role);
a simple class to control print indentation
abstract base class for most VTK objects
The ShaderProgram uses one or more Shader objects.
window superclass for vtkRenderWindow