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