|
Nebula
|
#include <detourdebug.h>
Inherits duDebugDraw.
Public Member Functions | |
| DebugDraw () | |
| virtual | ~DebugDraw () |
| virtual void | depthMask (bool state) |
| virtual void | texture (bool state) |
| virtual void | begin (duDebugDrawPrimitives prim, float size=1.0f) |
| Begin drawing primitives. | |
| virtual void | vertex (const float *pos, unsigned int color) |
| Submit a vertex. | |
| 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, const float *uv) |
| Submit a vertex. | |
| virtual void | vertex (const float x, const float y, const float z, unsigned int color, const float u, const float v) |
| Submit a vertex. | |
| virtual void | end () |
| End drawing primitives. | |
Private Attributes | |
| duDebugDrawPrimitives | current |
| Util::Array< CoreGraphics::RenderShape::RenderShapeVertex > | points |
| CoreGraphics::RenderShape::RenderFlag | flag |
| Navigation::DebugDraw::DebugDraw | ( | ) |
|
inlinevirtual |
|
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. |
|
virtual |
|
virtual |
End drawing primitives.
|
inlinevirtual |
|
virtual |
Submit a vertex.
| pos | [in] position of the verts. |
| color | [in] color of the verts. |
|
virtual |
Submit a vertex.
| pos | [in] position of the verts. |
| color | [in] color of the verts. |
|
virtual |
Submit a vertex.
| x,y,z | [in] position of the verts. |
| color | [in] color of the verts. |
|
virtual |
Submit a vertex.
| x,y,z | [in] position of the verts. |
| color | [in] color of the verts. |
|
private |
|
private |
|
private |