|
| | TransferVector () |
| | Constructs a null instance. More...
|
| |
| | TransferVector (const TransferBuffer &transfer_buffer) |
| | Constructs a TransferVector from an existing buffer. More...
|
| |
| | TransferVector (GraphicContext &gc, const std::vector< Type > &data, BufferUsage usage=BufferUsage::dynamic_copy) |
| |
| | TransferVector (GraphicContext &gc, int size, BufferUsage usage=BufferUsage::dynamic_copy) |
| | Constructs a TransferVector. More...
|
| |
| | TransferVector (GraphicContext &gc, Type *data, int size, BufferUsage usage=BufferUsage::dynamic_copy) |
| | Constructs a TransferVector. More...
|
| |
| Type * | get_data () |
| | Retrieves a pointer to the mapped buffer. More...
|
| |
| Type & | operator[] (int index) |
| |
| Type & | operator[] (unsigned int index) |
| |
| void | upload_data (GraphicContext &gc, int offset, const std::vector< Type > &data) |
| | Uploads data to transfer buffer. More...
|
| |
| void | upload_data (GraphicContext &gc, int offset, const Type *data, int size) |
| | Uploads data to transfer buffer. More...
|
| |
| | TransferBuffer () |
| | Constructs a null instance. More...
|
| |
| | TransferBuffer (GraphicContext &gc, const void *data, int size, BufferUsage usage=BufferUsage::dynamic_copy) |
| | Constructs a transfer buffer. More...
|
| |
| | TransferBuffer (GraphicContext &gc, int size, BufferUsage usage=BufferUsage::dynamic_copy) |
| | Constructs a transfer buffer. More...
|
| |
| virtual | ~TransferBuffer () |
| |
| void * | get_data () |
| | Retrieves a pointer to the mapped buffer. More...
|
| |
| TransferBufferProvider * | get_provider () const |
| | Get Provider. More...
|
| |
| bool | is_null () const |
| | Returns true if this object is invalid. More...
|
| |
| void | lock (GraphicContext &gc, BufferAccess access) |
| | Maps buffer into system memory. More...
|
| |
| | operator bool () const |
| |
| bool | operator== (const TransferBuffer &other) const |
| | Handle comparison operator. More...
|
| |
| void | throw_if_null () const |
| | Throw an exception if this object is invalid. More...
|
| |
| void | unlock () |
| | Unmaps buffer. More...
|
| |
| void | upload_data (GraphicContext &gc, int offset, const void *data, int size) |
| | Uploads data to transfer buffer. More...
|
| |