All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DebugRenderableBase.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "RenderableBase.h"
6 #include "Rendering.h"
7 #include "DynamicBuffer.h"
8 #include "AllVertexTypes.h"
9 #include "Types.h"
10 #include "VectorMath.h"
11 
12 namespace Eegeo
13 {
14  namespace DebugRendering
15  {
17  {
18  public:
20 
21  virtual ~DebugRenderableBase();
22 
23  virtual bool ContainsMeshData() const = 0;
24 
25  void SetDepthTest(bool depthTest);
26  bool GetDepthTest() const;
27 
28  protected:
29  void UnbindBuffers(Rendering::GLState& glState) const;
30 
31  bool m_depthTest;
32  };
33  }
34 }