Overte C++ Documentation
render/src/render/Stage.h
1 //
2 // Stage.h
3 // render/src/render
4 //
5 // Created by Sam Gateau on 6/14/2017.
6 // Copyright 2017 High Fidelity, Inc.
7 //
8 // Distributed under the Apache License, Version 2.0.
9 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10 //
11 
12 #ifndef hifi_render_Stage_h
13 #define hifi_render_Stage_h
14 
15 #include <memory>
16 #include <map>
17 #include <string>
18 
19 namespace render {
20 
21  class Stage {
22  public:
23  using Name = std::string;
24 
25  Stage();
26  virtual ~Stage();
27 
28  protected:
29  Name _name;
30  };
31 
32  using StagePointer = std::shared_ptr<Stage>;
33 
34  using StageMap = std::map<const Stage::Name, StagePointer>;
35 
36 }
37 
38 #endif // hifi_render_Stage_h