#include <vertex_array_buffer.h>
Public Member Functions | |
Construction | |
| CL_VertexArrayBuffer () | |
| Constructs a vertex array buffer. | |
| CL_VertexArrayBuffer (CL_GraphicContext &gc, int size, CL_BufferUsage usage=cl_usage_static_draw) | |
| Constructs a VertexArrayBuffer. | |
| CL_VertexArrayBuffer (CL_GraphicContext &gc, void *data, int size, CL_BufferUsage usage=cl_usage_static_draw) | |
| Constructs a VertexArrayBuffer. | |
| virtual | ~CL_VertexArrayBuffer () |
Attributes | |
| void * | get_data () |
| Retrieves a pointer to the mapped buffer. | |
| CL_VertexArrayBufferProvider * | get_provider () const |
| Get Provider. | |
Operations | |
| bool | operator== (const CL_VertexArrayBuffer &other) const |
| Handle comparison operator. | |
| void | lock (CL_BufferAccess access) |
| Maps vertex buffer into system memory. | |
| void | unlock () |
| Unmaps vertex buffer. | |
| void | upload_data (int offset, void *data, int size) |
| Uploads data to vertex array buffer. | |
|
|
Constructs a vertex array buffer.
|
|
||||||||||||||||
|
Constructs a VertexArrayBuffer.
|
|
||||||||||||||||||||
|
Constructs a VertexArrayBuffer.
|
|
|
|
|
|
Retrieves a pointer to the mapped buffer.
|
|
|
Get Provider.
|
|
|
Maps vertex buffer into system memory.
|
|
|
Handle comparison operator.
|
|
|
Unmaps vertex buffer.
|
|
||||||||||||||||
|
Uploads data to vertex array buffer.
|
1.4.6