#include <detourdebug.h>
Inherits duDebugDraw.
|
| | 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.
|
| |
◆ DebugDraw()
| Navigation::DebugDraw::DebugDraw |
( |
| ) |
|
◆ ~DebugDraw()
| virtual Navigation::DebugDraw::~DebugDraw |
( |
| ) |
|
|
inlinevirtual |
◆ begin()
| void Navigation::DebugDraw::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. |
◆ depthMask()
| void Navigation::DebugDraw::depthMask |
( |
bool | state | ) |
|
|
virtual |
◆ end()
| void Navigation::DebugDraw::end |
( |
| ) |
|
|
virtual |
◆ texture()
| virtual void Navigation::DebugDraw::texture |
( |
bool | state | ) |
|
|
inlinevirtual |
◆ vertex() [1/4]
| void Navigation::DebugDraw::vertex |
( |
const float * | pos, |
|
|
unsigned int | color ) |
|
virtual |
Submit a vertex.
- Parameters
-
| pos | [in] position of the verts. |
| color | [in] color of the verts. |
◆ vertex() [2/4]
| void Navigation::DebugDraw::vertex |
( |
const float * | pos, |
|
|
unsigned int | color, |
|
|
const float * | uv ) |
|
virtual |
Submit a vertex.
- Parameters
-
| pos | [in] position of the verts. |
| color | [in] color of the verts. |
◆ vertex() [3/4]
| void Navigation::DebugDraw::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. |
◆ vertex() [4/4]
| void Navigation::DebugDraw::vertex |
( |
const float | x, |
|
|
const float | y, |
|
|
const float | z, |
|
|
unsigned int | color, |
|
|
const float | u, |
|
|
const float | v ) |
|
virtual |
Submit a vertex.
- Parameters
-
| x,y,z | [in] position of the verts. |
| color | [in] color of the verts. |
◆ current
| duDebugDrawPrimitives Navigation::DebugDraw::current |
|
private |
◆ flag
◆ points
The documentation for this struct was generated from the following files:
- /github/workspace/code/addons/navigationfeature/debug/detourdebug.h
- /github/workspace/code/addons/navigationfeature/debug/detourdebug.cc