#include <DebugDraw.h>
|
| | duDisplayList (int cap=512) |
| |
| virtual | ~duDisplayList () override |
| |
| virtual void | depthMask (bool state) |
| |
| virtual void | begin (duDebugDrawPrimitives prim, float size=1.0f) |
| |
| virtual void | vertex (const duReal x, const duReal y, const duReal z, unsigned int color) |
| |
| virtual void | vertex (const duReal *pos, unsigned int color) |
| |
| virtual void | end () |
| | End drawing primitives.
|
| |
| void | clear () |
| |
| void | draw (struct duDebugDraw *dd) |
| |
| virtual NAVMESH_API | ~duDebugDraw ()=0 |
| |
| virtual void | texture (bool state)=0 |
| |
| virtual void | vertex (const float *pos, unsigned int color) final |
| |
| virtual void | vertex (const float x, const float y, const float z, unsigned int color) final |
| |
| virtual void | vertex (const duReal *pos, unsigned int color, const duReal *uv)=0 |
| |
| virtual void | vertex (const float *pos, unsigned int color, const float *uv) final |
| |
| virtual void | vertex (const duReal x, const duReal y, const duReal z, unsigned int color, const duReal u, const duReal v)=0 |
| |
| virtual void | vertex (const float x, const float y, const float z, unsigned int color, const float u, const float v) final |
| |
| virtual void | text (const duReal x, const duReal y, const duReal z, const char *text)=0 |
| |
| virtual void | text (const float x, const float y, const float z, const char *text) final |
| |
◆ duDisplayList()
| duDisplayList::duDisplayList |
( |
int |
cap = 512 | ) |
|
◆ ~duDisplayList()
| duDisplayList::~duDisplayList |
( |
| ) |
|
|
overridevirtual |
◆ begin()
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. |
Implements duDebugDraw.
◆ clear()
| void duDisplayList::clear |
( |
| ) |
|
◆ depthMask()
| void duDisplayList::depthMask |
( |
bool |
state | ) |
|
|
virtual |
◆ draw()
◆ end()
| void duDisplayList::end |
( |
| ) |
|
|
virtual |
◆ vertex() [1/2]
Submit a vertex
- Parameters
-
| pos | [in] position of the verts. |
| color | [in] color of the verts. |
Implements duDebugDraw.
◆ vertex() [2/2]
Submit a vertex
- Parameters
-
| x,y,z | [in] position of the verts. |
| color | [in] color of the verts. |
Implements duDebugDraw.
The documentation for this class was generated from the following files:
- Engine/Source/Runtime/Navmesh/Public/DebugUtils/DebugDraw.h
- Engine/Source/Runtime/Navmesh/Private/DebugUtils/DebugDraw.cpp