VTK  9.4.20241014
Public Member Functions | Public Attributes | List of all members
vtkOpenGLArrayTextureBufferAdapter Class Reference

Interfaces vtkDataArray to an OpenGL texture buffer. More...

#include <vtkOpenGLArrayTextureBufferAdapter.h>

Collaboration diagram for vtkOpenGLArrayTextureBufferAdapter:
[legend]

Public Member Functions

 vtkOpenGLArrayTextureBufferAdapter ()
 
 vtkOpenGLArrayTextureBufferAdapter (vtkDataArray *array, bool asScalars, bool *integerTexture=nullptr)
 
 vtkOpenGLArrayTextureBufferAdapter (const vtkOpenGLArrayTextureBufferAdapter &)=default
 
vtkOpenGLArrayTextureBufferAdapteroperator= (const vtkOpenGLArrayTextureBufferAdapter &)=default
 
void Upload (vtkOpenGLRenderWindow *renderWindow, bool force=false)
 

Public Attributes

std::vector< vtkSmartPointer< vtkDataArray > > Arrays
 
vtkSmartPointer< vtkTextureObjectTexture
 
vtkSmartPointer< vtkOpenGLBufferObjectBuffer
 
vtkOpenGLBufferObject::ObjectType BufferType
 
vtkOpenGLBufferObject::ObjectUsage BufferUsage
 
bool IntegerTexture
 
bool ScalarComponents
 

Detailed Description

Interfaces vtkDataArray to an OpenGL texture buffer.

Definition at line 23 of file vtkOpenGLArrayTextureBufferAdapter.h.

Constructor & Destructor Documentation

◆ vtkOpenGLArrayTextureBufferAdapter() [1/3]

vtkOpenGLArrayTextureBufferAdapter::vtkOpenGLArrayTextureBufferAdapter ( )

◆ vtkOpenGLArrayTextureBufferAdapter() [2/3]

vtkOpenGLArrayTextureBufferAdapter::vtkOpenGLArrayTextureBufferAdapter ( vtkDataArray array,
bool  asScalars,
bool *  integerTexture = nullptr 
)

◆ vtkOpenGLArrayTextureBufferAdapter() [3/3]

vtkOpenGLArrayTextureBufferAdapter::vtkOpenGLArrayTextureBufferAdapter ( const vtkOpenGLArrayTextureBufferAdapter )
default

Member Function Documentation

◆ operator=()

vtkOpenGLArrayTextureBufferAdapter & vtkOpenGLArrayTextureBufferAdapter::operator= ( const vtkOpenGLArrayTextureBufferAdapter )
default

◆ Upload()

void vtkOpenGLArrayTextureBufferAdapter::Upload ( vtkOpenGLRenderWindow renderWindow,
bool  force = false 
)

Member Data Documentation

◆ Arrays

std::vector<vtkSmartPointer<vtkDataArray> > vtkOpenGLArrayTextureBufferAdapter::Arrays

Definition at line 26 of file vtkOpenGLArrayTextureBufferAdapter.h.

◆ Texture

vtkSmartPointer<vtkTextureObject> vtkOpenGLArrayTextureBufferAdapter::Texture

Definition at line 27 of file vtkOpenGLArrayTextureBufferAdapter.h.

◆ Buffer

vtkSmartPointer<vtkOpenGLBufferObject> vtkOpenGLArrayTextureBufferAdapter::Buffer

Definition at line 28 of file vtkOpenGLArrayTextureBufferAdapter.h.

◆ BufferType

vtkOpenGLBufferObject::ObjectType vtkOpenGLArrayTextureBufferAdapter::BufferType

Definition at line 29 of file vtkOpenGLArrayTextureBufferAdapter.h.

◆ BufferUsage

vtkOpenGLBufferObject::ObjectUsage vtkOpenGLArrayTextureBufferAdapter::BufferUsage

Definition at line 30 of file vtkOpenGLArrayTextureBufferAdapter.h.

◆ IntegerTexture

bool vtkOpenGLArrayTextureBufferAdapter::IntegerTexture

Definition at line 31 of file vtkOpenGLArrayTextureBufferAdapter.h.

◆ ScalarComponents

bool vtkOpenGLArrayTextureBufferAdapter::ScalarComponents

Definition at line 32 of file vtkOpenGLArrayTextureBufferAdapter.h.


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