Open CASCADE Technology 7.8.2.dev
OpenGl_VertexBufferEditor.hxx File Reference

Data Structures

class  OpenGl_VertexBufferEditor< theVec_t >
 Auxiliary class to iteratively modify data of existing VBO. It provides iteration interface with delayed CPU->GPU memory transfer to avoid slow per-element data transfer. User should explicitly call Flush() method to ensure that all data is transferred to VBO. Temporary buffer on CPU side can be initialized with lesser capacity than VBO to allow re-usage of shared buffer with fixed size between VBOs. More...