~vtkOpenGLArrayTextureBufferCache() override
std::tuple< vtkDataArray *, bool, bool > Key
std::size_t GetNumberOfCachedTextureBuffers() const
Return the number of distinct (array, role) texture buffers currently cached.
vtkOpenGLArrayTextureBufferCache()
static vtkOpenGLArrayTextureBufferCache * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ReleaseGraphicsResources(vtkWindow *window)
Release the GL resources held by every cached entry and forget them.
std::shared_ptr< Entry > GetTextureBuffer(vtkDataArray *array, bool scalarComponents, bool integerTexture)
Return the shared entry for the given (array, scalarComponents, integerTexture), creating an empty en...
std::map< Key, std::shared_ptr< Entry > > Cache
A cached texture buffer for one (array, role).
vtkSmartPointer< vtkOpenGLBufferObject > Buffer
vtkSmartPointer< vtkDataArray > Array
vtkSmartPointer< vtkTextureObject > Texture