5 #include "AllVertexTypes.h"
6 #include "DynamicBuffer.h"
9 #include "VectorMath.h"
11 #include "IRenderableFilter.h"
12 #include "DebugPrimitiveRenderable.h"
18 namespace DebugRendering
24 struct DebugPrimitiveSpec
29 std::vector<v3> LocalVerts;
30 std::vector<u16> LocalIndices;
33 struct DebugPrimitiveEcef
38 const DebugPrimitiveSpec* pPrimSpec;
51 const dv3& ecefOrigin,
54 const float lifetime);
57 const dv3& ecefOrigin,
60 const float lifetime);
63 const dv3& ecefOrigin,
66 const float lifetime);
74 void SetDepthEnabled(
const bool depthEnabled);
78 const DebugPrimitiveSpec* pPrimSpec,
79 const dv3& ecefOrigin,
82 const float lifetime);
84 void GenerateGeometryForSingleInstance(
const DebugPrimitiveEcef& data,
89 DebugPrimitiveSpec m_primSpecCube;
90 DebugPrimitiveSpec m_primSpecSphere;
91 DebugPrimitiveSpec m_primSpecQuad;
93 std::vector<DebugPrimitiveEcef> m_drawData;