Uniform Buffer.
More...
#include <uniform_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 uniforms buffer. More...
|
|
Copies data from transfer buffer.
Copies data to transfer buffer.
Constructs a uniform buffer.
virtual void uicore::UniformBuffer::upload_data |
( |
const GraphicContextPtr & |
gc, |
|
|
const void * |
data, |
|
|
int |
size |
|
) |
| |
|
pure virtual |
Uploads data to uniforms 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: