allocate/free texture units.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetContext(vtkOpenGLRenderWindow *context)
Get/Set the context.
virtual void Free(int textureUnitId)
Release a texture unit.
virtual int Allocate(int unit)
Reserve a specific texture unit if not already in use.
bool IsAllocated(int textureUnitId)
Tell if texture unit ‘textureUnitId’ is already allocated.
int GetNumberOfTextureUnits()
Number of texture units supported by the OpenGL context.
void DeleteTable()
Delete the allocation table and check if it is not called before all the texture units have been rele...
static vtkTextureUnitManager * New()