Planeshift
Public Member Functions

duDisplayList Class Reference

#include <DebugDraw.h>

List of all members.

Public Member Functions

virtual void begin (duDebugDrawPrimitives prim, float size=1.0f)
 Begin drawing primitives.
void clear ()
virtual void depthMask (bool state)
void draw (struct duDebugDraw *dd)
 duDisplayList (int cap=512)
virtual void end ()
 End drawing primitives.
virtual void vertex (const float x, const float y, const float z, unsigned int color)
 Submit a vertex.
virtual void vertex (const float *pos, unsigned int color)
 Submit a vertex.
 ~duDisplayList ()

Detailed Description

Definition at line 190 of file DebugDraw.h.


Constructor & Destructor Documentation

duDisplayList::duDisplayList ( int  cap = 512)
duDisplayList::~duDisplayList ( )

Member Function Documentation

virtual void duDisplayList::begin ( duDebugDrawPrimitives  prim,
float  size = 1.0f 
) [virtual]

Begin drawing primitives.

Parameters:
prim[in] primitive type to draw, one of rcDebugDrawPrimitives.
size[in] size of a primitive, applies to point size and line width only.

Implements duDebugDraw.

void duDisplayList::clear ( )
virtual void duDisplayList::depthMask ( bool  state) [virtual]

Implements duDebugDraw.

void duDisplayList::draw ( struct duDebugDraw dd)
virtual void duDisplayList::end ( ) [virtual]

End drawing primitives.

Implements duDebugDraw.

virtual void duDisplayList::vertex ( const float  x,
const float  y,
const float  z,
unsigned int  color 
) [virtual]

Submit a vertex.

Parameters:
x,y,z[in] position of the verts.
color[in] color of the verts.

Implements duDebugDraw.

virtual void duDisplayList::vertex ( const float pos,
unsigned int  color 
) [virtual]

Submit a vertex.

Parameters:
pos[in] position of the verts.
color[in] color of the verts.

Implements duDebugDraw.


The documentation for this class was generated from the following file: