VTK  9.6.20260624
vtkOpenGLArrayTextureBufferCache::Entry Struct Reference

A cached texture buffer for one (array, role). More...

#include <vtkOpenGLArrayTextureBufferCache.h>

Collaboration diagram for vtkOpenGLArrayTextureBufferCache::Entry:
[legend]

Public Attributes

vtkSmartPointer< vtkDataArrayArray
 
vtkSmartPointer< vtkTextureObjectTexture
 
vtkSmartPointer< vtkOpenGLBufferObjectBuffer
 
vtkMTimeType UploadTime = 0
 

Detailed Description

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 60 of file vtkOpenGLArrayTextureBufferCache.h.

Member Data Documentation

◆ Array

vtkSmartPointer<vtkDataArray> vtkOpenGLArrayTextureBufferCache::Entry::Array

Definition at line 62 of file vtkOpenGLArrayTextureBufferCache.h.

◆ Texture

vtkSmartPointer<vtkTextureObject> vtkOpenGLArrayTextureBufferCache::Entry::Texture

Definition at line 63 of file vtkOpenGLArrayTextureBufferCache.h.

◆ Buffer

vtkSmartPointer<vtkOpenGLBufferObject> vtkOpenGLArrayTextureBufferCache::Entry::Buffer

Definition at line 64 of file vtkOpenGLArrayTextureBufferCache.h.

◆ UploadTime

vtkMTimeType vtkOpenGLArrayTextureBufferCache::Entry::UploadTime = 0

Definition at line 65 of file vtkOpenGLArrayTextureBufferCache.h.


The documentation for this struct was generated from the following file: