Abstract debug draw interface.
更多...
#include <DebugDraw.h>
被 FRecastInternalDebugData , 以及 duDisplayList 继承.
|
| virtual void | begin (duDebugDrawPrimitives prim, float size=1.0f)=0 |
| | Begin drawing primitives. 更多...
|
| |
|
virtual void | end ()=0 |
| | End drawing primitives.
|
| |
| virtual void | vertex (const float *pos, unsigned int color)=0 |
| | Submit a vertex 更多...
|
| |
| virtual void | vertex (const float *pos, unsigned int color, const float *uv)=0 |
| | Submit a vertex 更多...
|
| |
| virtual void | vertex (const float x, const float y, const float z, 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 更多...
|
| |
Abstract debug draw interface.
◆ begin()
| 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. |
◆ vertex() [1/4]
| virtual void duDebugDraw::vertex |
( |
const float * |
pos, |
|
|
unsigned int |
color |
|
) |
| |
|
pure virtual |
Submit a vertex
- 参数
-
| pos | [in] position of the verts. |
| color | [in] color of the verts. |
◆ vertex() [2/4]
| 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. |
◆ vertex() [3/4]
| 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. |
◆ 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
- 参数
-
| x,y,z | [in] position of the verts. |
| color | [in] color of the verts. |
该结构体的文档由以下文件生成: