Scaleform::Render::GL::MeshCache::BufferUpdateType

Scaleform::Render::GL::MeshCache::BufferUpdateType
enum BufferUpdateType {
  BufferUpdate_MapBufferUnsynchronized,
  BufferUpdate_ClientBuffers,
  BufferUpdate_MapBuffer,
  BufferUpdate_UpdateBuffer,
  BufferUpdate_Count
};
Description

List of possible strategies used to update buffers within the mesh cache. They are listed in order of preference however, all system may not support all of these methods.

Members
Members 
Description 
BufferUpdate_MapBufferUnsynchronized 
Use glMapBufferRange, with no synchronization. glFenceSync is used to ensure consistency. 
BufferUpdate_ClientBuffers 
Use client-memory buffers. Client memory is modified directly, and reissued to the GPU every draw. 
BufferUpdate_MapBuffer 
Use glMapBuffer to update buffers. VBOs are used, without client backing. GPU may stall. 
BufferUpdate_UpdateBuffer 
Use glBuffer[Sub]Data to update the buffers. VBOs are used, with client memory backing. GPU may stall. 
File

GL_MeshCache.h