#include <ddgvbuf.h>
Class diagram for ddgVBuffer:
Public Members | |||
![]() | ![]() | ddgVBuffer ( ddgVArray::ddgBufType type = ddgVArray::triangle) | |
![]() | ![]() | Create a object but don't allocate any memory. | |
![]() | ![]() | bool | draw ( ddgContext *ctx ) |
![]() | ![]() | Render the buffer object. | |
![]() | ![]() | bool | init (ddgContext *ctx ) |
![]() | ![]() | Initialize the vector Buffer object and allocate buffers if size is set. | |
![]() | ![]() | void | range ( unsigned int start, unsigned int num) |
![]() | ![]() | Set the range of objects in the buffer to render. | |
![]() | ![]() | void | reset (void) |
![]() | ![]() | Reset the buffer before filling with data. | |
![]() | ![]() | ddgVArray | varray |
![]() | ![]() | Data is held by this object. |
the object supports rendering a sub range of the vertex array.