Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

ddgVBuffer Class Reference

A class supporting vertex array buffers for rendering. More...

#include <ddgvbuf.h>

Class diagram for ddgVBuffer:

ddgDLNode ddgNode ddgSky ddgMeshRender ddgGround ddgForestBlock ddgCloud

List of all members.


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.


Detailed Description

A class supporting vertex array buffers for rendering.

the object supports rendering a sub range of the vertex array.


The documentation for this class was generated from the following file:
Generated at Sun Sep 17 19:27:58 2000 for Digital Dawn Graphics Toolkit by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999