Abstract debug draw interface.
More...
#include <DebugDraw.h>
|
|
virtual void | depthMask (bool state)=0 |
| |
|
virtual void | texture (bool state)=0 |
| |
| virtual void | begin (duDebugDrawPrimitives prim, float size=1.0f)=0 |
| |
| virtual void | vertex (const float *pos, unsigned int color)=0 |
| |
| virtual void | vertex (const float x, const float y, const float z, unsigned int color)=0 |
| |
| virtual void | vertex (const float *pos, unsigned int color, const float *uv)=0 |
| |
| virtual void | vertex (const float x, const float y, const float z, unsigned int color, const float u, const float v)=0 |
| |
| virtual void | end ()=0 |
| | End drawing primitives.
|
| |
|
virtual unsigned int | areaToCol (unsigned int area) |
| | Compute a color for given area.
|
| |
Abstract debug draw interface.
◆ begin()
| virtual void duDebugDraw::begin |
( |
duDebugDrawPrimitives |
prim, |
|
|
float |
size = 1.0f |
|
) |
| |
|
pure 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. |
Implemented in duDisplayList, and RavEngine::RenderEngine.
◆ end()
| virtual void duDebugDraw::end |
( |
| ) |
|
|
pure virtual |
◆ vertex() [1/4]
| virtual void duDebugDraw::vertex |
( |
const float * |
pos, |
|
|
unsigned int |
color |
|
) |
| |
|
pure virtual |
◆ vertex() [2/4]
| virtual void duDebugDraw::vertex |
( |
const float * |
pos, |
|
|
unsigned int |
color, |
|
|
const float * |
uv |
|
) |
| |
|
pure virtual |
Submit a vertex
- Parameters
-
| pos | [in] position of the verts. |
| color | [in] color of the verts. |
Implemented in RavEngine::RenderEngine.
◆ vertex() [3/4]
| virtual void duDebugDraw::vertex |
( |
const float |
x, |
|
|
const float |
y, |
|
|
const float |
z, |
|
|
unsigned int |
color |
|
) |
| |
|
pure virtual |
◆ vertex() [4/4]
| 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
- Parameters
-
| x,y,z | [in] position of the verts. |
| color | [in] color of the verts. |
Implemented in RavEngine::RenderEngine.
The documentation for this struct was generated from the following files:
- RavEngine/deps/recastnavigation/DebugUtils/Include/DebugDraw.h
- RavEngine/deps/recastnavigation/DebugUtils/Source/DebugDraw.cpp