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