|
| | VertexArrayVector () |
| | Constructs a null instance.
|
| |
| | VertexArrayVector (const VertexArrayBuffer &buffer) |
| | Constructs a VertexArrayBuffer using an existing VertexArrayBuffer.
|
| |
| | VertexArrayVector (GraphicContext &gc, const std::vector< Type > &data, BufferUsage usage=BufferUsage::static_draw) |
| |
| | VertexArrayVector (GraphicContext &gc, int size, BufferUsage usage=BufferUsage::static_draw) |
| | Constructs a VertexArrayBuffer.
|
| |
| | VertexArrayVector (GraphicContext &gc, Type *data, int size, BufferUsage usage=BufferUsage::static_draw) |
| | Constructs a VertexArrayBuffer.
|
| |
| void | copy_from (GraphicContext &gc, TransferVector< Type > &buffer, int dest_pos=0, int src_pos=0, int size=-1) |
| | Copies data from transfer buffer.
|
| |
| void | copy_to (GraphicContext &gc, TransferVector< Type > &buffer, int dest_pos=0, int src_pos=0, int size=-1) |
| | Copies data to transfer buffer.
|
| |
| void | upload_data (GraphicContext &gc, int offset, const std::vector< Type > &data) |
| | Uploads data to vertex array buffer.
|
| |
| void | upload_data (GraphicContext &gc, int offset, const Type *data, int size) |
| | Uploads data to vertex array buffer.
|
| |
| | VertexArrayBuffer () |
| | Constructs a null instance.
|
| |
| | VertexArrayBuffer (GraphicContext &gc, const void *data, int size, BufferUsage usage=BufferUsage::static_draw) |
| | Constructs a VertexArrayBuffer.
|
| |
| | VertexArrayBuffer (GraphicContext &gc, int size, BufferUsage usage=BufferUsage::static_draw) |
| | Constructs a VertexArrayBuffer.
|
| |
| virtual | ~VertexArrayBuffer () |
| |
| void | copy_from (GraphicContext &gc, TransferBuffer &buffer, int dest_pos=0, int src_pos=0, int size=-1) |
| | Copies data from transfer buffer.
|
| |
| void | copy_to (GraphicContext &gc, TransferBuffer &buffer, int dest_pos=0, int src_pos=0, int size=-1) |
| | Copies data to transfer buffer.
|
| |
| VertexArrayBufferProvider * | get_provider () const |
| | Get Provider.
|
| |
| bool | is_null () const |
| | Returns true if this object is invalid.
|
| |
| | operator bool () const |
| |
| bool | operator== (const VertexArrayBuffer &other) const |
| | Handle comparison operator.
|
| |
| void | throw_if_null () const |
| | Throw an exception if this object is invalid.
|
| |
| void | upload_data (GraphicContext &gc, int offset, const void *data, int size) |
| | Uploads data to vertex array buffer.
|
| |
template<typename Type>
class clan::VertexArrayVector< Type >
Vertex Array Vector.