|
NoJobEngine 2.0.7
|
#include <NavMeshDebugRenderer.h>
Public Member Functions | |
| NavMeshDebugRenderer () | |
| void | Build (const NavMesh &navMesh) |
| void | Draw (const glm::mat4 &viewProjection, const glm::vec4 &color=glm::vec4(0.15f, 0.85f, 1.0f, 1.0f)) const |
| void | Clear () |
| std::uint32_t | GetVertexCount () const |
Definition at line 20 of file NavMeshDebugRenderer.h.
| NoJob::NavMeshDebugRenderer::NavMeshDebugRenderer | ( | ) |
Definition at line 45 of file NavMeshDebugRenderer.cpp.
References NoJob::Shader::Create().
| void NoJob::NavMeshDebugRenderer::Build | ( | const NavMesh & | navMesh | ) |
Definition at line 53 of file NavMeshDebugRenderer.cpp.
References Clear(), NoJob::VertexArray::Create(), NoJob::VertexBuffer::Create(), NoJob::NavPolygon::Edges, NoJob::NavEdge::EndVertex, NoJob::NavMesh::GetPolygon(), NoJob::NavMesh::GetPolygonCount(), NoJob::NavMesh::GetVertex(), NoJob::NavVertex::Position, and NoJob::NavEdge::StartVertex.
Referenced by main().
| void NoJob::NavMeshDebugRenderer::Clear | ( | ) |
Definition at line 184 of file NavMeshDebugRenderer.cpp.
| void NoJob::NavMeshDebugRenderer::Draw | ( | const glm::mat4 & | viewProjection, |
| const glm::vec4 & | color = glm::vec4( 0.15f, 0.85f, 1.0f, 1.0f) ) const |
Definition at line 158 of file NavMeshDebugRenderer.cpp.
References NoJob::RenderCommand::DrawLines().
Referenced by main().
|
inline |
Definition at line 38 of file NavMeshDebugRenderer.h.