#include <DebugDraw.h>
|
| virtual void | begin (duDebugDrawPrimitives prim, float size=1.0f) |
| | Begin drawing primitives. More...
|
| |
| void | clear () |
| |
| virtual void | depthMask (bool state) |
| |
| void | draw (struct duDebugDraw *dd) |
| |
| | duDisplayList (int cap=512) |
| |
| virtual void | end () |
| | End drawing primitives. More...
|
| |
| virtual void | vertex (const float x, const float y, const float z, unsigned int color) |
| | Submit a vertex. More...
|
| |
| virtual void | vertex (const float *pos, unsigned int color) |
| | Submit a vertex. More...
|
| |
| | ~duDisplayList () |
| |
| virtual void | texture (bool state)=0 |
| |
| virtual void | vertex (const float *pos, unsigned int color, const float *uv)=0 |
| | Submit a vertex. More...
|
| |
| virtual void | vertex (const float x, const float y, const float z, unsigned int color, const float u, const float v)=0 |
| | Submit a vertex. More...
|
| |
| virtual | ~duDebugDraw ()=0 |
| |
Definition at line 190 of file DebugDraw.h.
| duDisplayList::duDisplayList |
( |
int |
cap = 512 | ) |
|
| duDisplayList::~duDisplayList |
( |
| ) |
|
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 |
| virtual void duDisplayList::end |
( |
| ) |
|
|
virtual |
Submit a vertex.
- Parameters
-
| x,y,z | [in] position of the verts. |
| color | [in] color of the verts. |
Implements duDebugDraw.
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: