All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
VertexBindingPool.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Types.h"
6 #include "Rendering.h"
7 #include "VertexBinding.h"
8 #include <set>
9 
10 #define LOG_VERTEX_BINDING_POOL 0
11 
12 namespace Eegeo
13 {
14  namespace Rendering
15  {
16  namespace VertexLayouts
17  {
24  {
25  public:
26  const VertexBinding& GetVertexBinding(const VertexLayout& layout, const VertexAttribs& attribs);
27  private:
28  typedef std::set<VertexBinding> TVertexBindings;
29  TVertexBindings m_bindings;
30  };
31  }
32  }
33 }