Planeshift
|
Abstract debug draw interface. More...
#include <DebugDraw.h>
Public Member Functions | |
virtual void | begin (duDebugDrawPrimitives prim, float size=1.0f)=0 |
Begin drawing primitives. | |
virtual void | depthMask (bool state)=0 |
virtual void | end ()=0 |
End drawing primitives. | |
virtual void | texture (bool state)=0 |
virtual void | vertex (const float x, const float y, const float z, unsigned int color)=0 |
Submit a vertex. | |
virtual void | vertex (const float *pos, unsigned int color)=0 |
Submit a vertex. | |
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. | |
virtual void | vertex (const float *pos, unsigned int color, const float *uv)=0 |
Submit a vertex. | |
virtual | ~duDebugDraw ()=0 |
Abstract debug draw interface.
Definition at line 34 of file DebugDraw.h.
virtual duDebugDraw::~duDebugDraw | ( | ) | [pure virtual] |
virtual void duDebugDraw::begin | ( | duDebugDrawPrimitives | prim, |
float | size = 1.0f |
||
) | [pure virtual] |
Begin drawing primitives.
prim | [in] primitive type to draw, one of rcDebugDrawPrimitives. |
size | [in] size of a primitive, applies to point size and line width only. |
Implemented in duDisplayList.
virtual void duDebugDraw::depthMask | ( | bool | state | ) | [pure virtual] |
Implemented in duDisplayList.
virtual void duDebugDraw::end | ( | ) | [pure virtual] |
End drawing primitives.
Implemented in duDisplayList.
virtual void duDebugDraw::texture | ( | bool | state | ) | [pure virtual] |
virtual void duDebugDraw::vertex | ( | const float | x, |
const float | y, | ||
const float | z, | ||
unsigned int | color | ||
) | [pure virtual] |
Submit a vertex.
x,y,z | [in] position of the verts. |
color | [in] color of the verts. |
Implemented in duDisplayList.
virtual void duDebugDraw::vertex | ( | const float | x, |
const float | y, | ||
const float | z, | ||
unsigned int | color, | ||
const float | u, | ||
const float | v | ||
) | [pure virtual] |
Submit a vertex.
x,y,z | [in] position of the verts. |
color | [in] color of the verts. |
Submit a vertex.
pos | [in] position of the verts. |
color | [in] color of the verts. |
Implemented in duDisplayList.
virtual void duDebugDraw::vertex | ( | const float * | pos, |
unsigned int | color, | ||
const float * | uv | ||
) | [pure virtual] |
Submit a vertex.
pos | [in] position of the verts. |
color | [in] color of the verts. |