Element Array Buffer.
More...
#include <element_array_buffer.h>
|
virtual void | copy_from (const GraphicContextPtr &gc, const StagingBufferPtr &buffer, int dest_pos=0, int src_pos=0, int size=-1)=0 |
| Copies data from transfer buffer. More...
|
|
virtual void | copy_to (const GraphicContextPtr &gc, const StagingBufferPtr &buffer, int dest_pos=0, int src_pos=0, int size=-1)=0 |
| Copies data to transfer buffer. More...
|
|
virtual void | upload_data (const GraphicContextPtr &gc, const void *data, int size)=0 |
| Uploads data to element array buffer. More...
|
|
virtual void uicore::ElementArrayBuffer::copy_from |
( |
const GraphicContextPtr & |
gc, |
|
|
const StagingBufferPtr & |
buffer, |
|
|
int |
dest_pos = 0 , |
|
|
int |
src_pos = 0 , |
|
|
int |
size = -1 |
|
) |
| |
|
pure virtual |
Copies data from transfer buffer.
Copies data to transfer buffer.
Constructs a buffer holding vertex indices.
virtual void uicore::ElementArrayBuffer::upload_data |
( |
const GraphicContextPtr & |
gc, |
|
|
const void * |
data, |
|
|
int |
size |
|
) |
| |
|
pure virtual |
Uploads data to element array buffer.
The size specified must match the size of the buffer and is only included to help guard against buffer overruns.
The documentation for this class was generated from the following file: