18 #ifndef INCLUDED_DEBUGRENDERER 19 #define INCLUDED_DEBUGRENDERER 25 #include <unordered_map> 47 const CColor& color,
const float width,
const bool depthTestEnabled =
true);
48 void DrawLine(
const std::vector<CVector3D>& line,
49 const CColor& color,
const float width,
const bool depthTestEnabled =
true);
77 const CStrIntern name,
const CColor& color,
const bool depthTestEnabled =
true,
78 const bool wireframe =
false);
95 std::unordered_map<ShaderTechniqueKey, CShaderTechniquePtr, ShaderTechniqueKeyHash, ShaderTechniqueKeyEqual>
101 #endif // INCLUDED_DEBUGRENDERER std::unordered_map< ShaderTechniqueKey, CShaderTechniquePtr, ShaderTechniqueKeyHash, ShaderTechniqueKeyEqual > m_ShaderTechniqueMapping
Definition: DebugRenderer.h:96
Definition: Vector3D.h:30
void DrawBoundingBox(const CBoundingBoxAligned &boundingBox, const CColor &color, bool wireframe=false)
Render the surfaces of the bound box as triangles.
Definition: DebugRenderer.cpp:274
bool wireframe
Definition: DebugRenderer.h:85
void DrawLine(const CVector3D &from, const CVector3D &to, const CColor &color, const float width, const bool depthTestEnabled=true)
Render the line in world space.
Definition: DebugRenderer.cpp:48
Definition: DebugRenderer.h:80
Definition: DebugRenderer.h:91
Definition: DebugRenderer.h:38
Definition: Matrix3D.h:33
Class CBrush: Represents a convex object, supports some CSG operations.
Definition: Brush.h:37
Interned 8-bit strings.
Definition: CStrIntern.h:37
void DrawBrush(const CBrush &brush, const CColor &color, bool wireframe=false)
Render the surfaces of the brush as triangles.
Definition: DebugRenderer.cpp:333
CStrIntern name
Definition: DebugRenderer.h:82
pthread_key_t key
Definition: wpthread.cpp:140
void DrawCircle(const CVector3D &origin, const float radius, const CColor &color)
Render the circle in world space oriented to the view camera.
Definition: DebugRenderer.cpp:121
const CShaderTechniquePtr & GetShaderTechnique(const CStrIntern name, const CColor &color, const bool depthTestEnabled=true, const bool wireframe=false)
Definition: DebugRenderer.cpp:406
void Initialize()
Definition: DebugRenderer.cpp:38
Definition: BoundingBoxAligned.h:33
void DrawCameraFrustum(const CCamera &camera, const CColor &color, int intermediates=0, bool wireframe=false)
Render: Renders the camera's frustum in world space.
Definition: DebugRenderer.cpp:175
Renderer::Backend::IVertexInputLayout * m_VertexInputLayout
Definition: DebugRenderer.h:98
std::shared_ptr< CShaderTechnique > CShaderTechniquePtr
Definition: ShaderTechniquePtr.h:27
Definition: DebugRenderer.h:87
bool depthTestEnabled
Definition: DebugRenderer.h:84
bool transparent
Definition: DebugRenderer.h:83