|
VTK
9.7.0
|
A cached texture buffer for one (array, role). More...
#include <vtkOpenGLArrayTextureBufferCache.h>
Public Attributes | |
| vtkSmartPointer< vtkDataArray > | Array |
| vtkSmartPointer< vtkTextureObject > | Texture |
| vtkSmartPointer< vtkOpenGLBufferObject > | Buffer |
| vtkMTimeType | UploadTime = 0 |
| std::uint64_t | LastAccess = 0 |
| Monotonic stamp of the last GetTextureBuffer() that returned this entry; orders entries least-recently-used-first for budget eviction. | |
A cached texture buffer for one (array, role).
Texture holds the samplerBuffer (a 2D emulation texture on GLES, a real GL_TEXTURE_BUFFER on desktop); Buffer is the desktop TBO backing store and stays null on GLES, where data is uploaded straight from client memory. UploadTime records the source array's MTime captured at the last upload, so the owning adapter can skip re-uploading until the array changes.
Definition at line 52 of file vtkOpenGLArrayTextureBufferCache.h.
| vtkSmartPointer<vtkDataArray> vtkOpenGLArrayTextureBufferCache::Entry::Array |
Definition at line 54 of file vtkOpenGLArrayTextureBufferCache.h.
| vtkSmartPointer<vtkTextureObject> vtkOpenGLArrayTextureBufferCache::Entry::Texture |
Definition at line 55 of file vtkOpenGLArrayTextureBufferCache.h.
| vtkSmartPointer<vtkOpenGLBufferObject> vtkOpenGLArrayTextureBufferCache::Entry::Buffer |
Definition at line 56 of file vtkOpenGLArrayTextureBufferCache.h.
| vtkMTimeType vtkOpenGLArrayTextureBufferCache::Entry::UploadTime = 0 |
Definition at line 57 of file vtkOpenGLArrayTextureBufferCache.h.
| std::uint64_t vtkOpenGLArrayTextureBufferCache::Entry::LastAccess = 0 |
Monotonic stamp of the last GetTextureBuffer() that returned this entry; orders entries least-recently-used-first for budget eviction.
Definition at line 60 of file vtkOpenGLArrayTextureBufferCache.h.