VTK
9.4.20241014
|
Interfaces vtkDataArray to an OpenGL texture buffer. More...
#include <vtkOpenGLArrayTextureBufferAdapter.h>
Public Member Functions | |
vtkOpenGLArrayTextureBufferAdapter () | |
vtkOpenGLArrayTextureBufferAdapter (vtkDataArray *array, bool asScalars, bool *integerTexture=nullptr) | |
vtkOpenGLArrayTextureBufferAdapter (const vtkOpenGLArrayTextureBufferAdapter &)=default | |
vtkOpenGLArrayTextureBufferAdapter & | operator= (const vtkOpenGLArrayTextureBufferAdapter &)=default |
void | Upload (vtkOpenGLRenderWindow *renderWindow, bool force=false) |
Public Attributes | |
std::vector< vtkSmartPointer< vtkDataArray > > | Arrays |
vtkSmartPointer< vtkTextureObject > | Texture |
vtkSmartPointer< vtkOpenGLBufferObject > | Buffer |
vtkOpenGLBufferObject::ObjectType | BufferType |
vtkOpenGLBufferObject::ObjectUsage | BufferUsage |
bool | IntegerTexture |
bool | ScalarComponents |
Interfaces vtkDataArray to an OpenGL texture buffer.
Definition at line 23 of file vtkOpenGLArrayTextureBufferAdapter.h.
vtkOpenGLArrayTextureBufferAdapter::vtkOpenGLArrayTextureBufferAdapter | ( | ) |
vtkOpenGLArrayTextureBufferAdapter::vtkOpenGLArrayTextureBufferAdapter | ( | vtkDataArray * | array, |
bool | asScalars, | ||
bool * | integerTexture = nullptr |
||
) |
|
default |
|
default |
void vtkOpenGLArrayTextureBufferAdapter::Upload | ( | vtkOpenGLRenderWindow * | renderWindow, |
bool | force = false |
||
) |
std::vector<vtkSmartPointer<vtkDataArray> > vtkOpenGLArrayTextureBufferAdapter::Arrays |
Definition at line 26 of file vtkOpenGLArrayTextureBufferAdapter.h.
vtkSmartPointer<vtkTextureObject> vtkOpenGLArrayTextureBufferAdapter::Texture |
Definition at line 27 of file vtkOpenGLArrayTextureBufferAdapter.h.
vtkSmartPointer<vtkOpenGLBufferObject> vtkOpenGLArrayTextureBufferAdapter::Buffer |
Definition at line 28 of file vtkOpenGLArrayTextureBufferAdapter.h.
vtkOpenGLBufferObject::ObjectType vtkOpenGLArrayTextureBufferAdapter::BufferType |
Definition at line 29 of file vtkOpenGLArrayTextureBufferAdapter.h.
vtkOpenGLBufferObject::ObjectUsage vtkOpenGLArrayTextureBufferAdapter::BufferUsage |
Definition at line 30 of file vtkOpenGLArrayTextureBufferAdapter.h.
bool vtkOpenGLArrayTextureBufferAdapter::IntegerTexture |
Definition at line 31 of file vtkOpenGLArrayTextureBufferAdapter.h.
bool vtkOpenGLArrayTextureBufferAdapter::ScalarComponents |
Definition at line 32 of file vtkOpenGLArrayTextureBufferAdapter.h.