Go to the documentation of this file.
27 #ifndef vtkShader2Collection_h
28 #define vtkShader2Collection_h
30 #include "vtkRenderingOpenGLModule.h"
void * vtkCollectionSimpleIterator
a list of Shader2 objects.
abstract base class for most VTK objects
bool HasGeometryShaders()
Tells if at least one of the shaders is a geometry shader.
vtkShader2 * GetNextShader(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
bool HasVertexShaders()
Tells if at least one of the shaders is a vertex shader.
vtkShader2 * GetNextShader()
Get the next shader in the list.
vtkTypeUInt64 vtkMTimeType
create and manipulate unsorted lists of objects
void AddCollection(vtkShader2Collection *other)
Add the elements of ‘other’ to the end of ‘this’.
vtkShader2 * GetLastShader()
Get the last shader in the list.
bool HasTessellationEvaluationShaders()
Tells if at least one of the shaders is a tessellation evaluation shader.
a simple class to control print indentation
void AddItem(vtkShader2 *shader)
Add a shader to the list.
bool HasShadersOfType(int)
vtkMTimeType GetMTime()
Modified GetMTime because the collection time depends on the content of the shaders.
bool HasFragmentShaders()
Tells if at least one of the shaders is a fragment shader.
void AddItem(vtkObject *)
Add an object to the list.
void ReleaseGraphicsResources()
Release OpenGL resources (shader id of each item).
bool HasTessellationControlShaders()
Tells if at least one of the shaders is a tessellation control shader.
static vtkShader2Collection * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void RemoveCollection(vtkShader2Collection *other)
Remove the elements of ‘other’ from ‘this’.