Storage Buffer provider. More...
#include <storage_buffer_provider.h>
Public Member Functions | |
Construction | |
| virtual | ~StorageBufferProvider () |
| virtual void | create (int size, int stride, BufferUsage usage)=0 |
| Constructs a vertex array buffer. More... | |
| virtual void | create (const void *data, int size, int stride, BufferUsage usage)=0 |
| Create. More... | |
Operations | |
| virtual void | upload_data (GraphicContext &gc, const void *data, int size)=0 |
| Uploads data to storages buffer. More... | |
| virtual void | copy_from (GraphicContext &gc, TransferBuffer &buffer, int dest_pos, int src_pos, int size)=0 |
| Copies data from transfer buffer. More... | |
| virtual void | copy_to (GraphicContext &gc, TransferBuffer &buffer, int dest_pos, int src_pos, int size)=0 |
| Copies data to transfer buffer. More... | |
Storage Buffer provider.