All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PolylineRenderableFactory.h
1 #pragma once
2 
3 #include "Types.h"
4 #include "PolylineShapes.h"
5 #include "Rendering.h"
6 #include "LayerIds.h"
7 #include "VectorMathDecl.h"
8 
9 namespace Eegeo
10 {
11  namespace Shapes
12  {
13  namespace Polylines
14  {
16  {
17  public:
20 
21  virtual ~PolylineRenderableFactory() {}
22 
23  virtual PolylineRenderable* Create(Rendering::Mesh* pMesh,
24  const dv3& ecefOrigin,
25  Eegeo::Rendering::LayerIds::Values renderLayer);
26 
27  private:
28  const Rendering::VertexLayouts::VertexBinding& GetVertexBinding(const Rendering::Mesh& mesh, const Rendering::Materials::IMaterial& material) const;
29 
30  PolylineMaterial& m_polylineMaterial;
32  };
33  }
34  }
35 }