Nebula
Loading...
Searching...
No Matches
Navigation::DebugDraw Struct Reference

#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::RenderShapeVertexpoints
 
CoreGraphics::RenderShape::RenderFlag flag
 

Constructor & Destructor Documentation

◆ DebugDraw()

Navigation::DebugDraw::DebugDraw ( )

◆ ~DebugDraw()

virtual Navigation::DebugDraw::~DebugDraw ( )
inlinevirtual

Member Function Documentation

◆ 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

End drawing primitives.

◆ 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.

Member Data Documentation

◆ current

duDebugDrawPrimitives Navigation::DebugDraw::current
private

◆ flag

CoreGraphics::RenderShape::RenderFlag Navigation::DebugDraw::flag
private

◆ points

Util::Array<CoreGraphics::RenderShape::RenderShapeVertex> Navigation::DebugDraw::points
private

The documentation for this struct was generated from the following files: