Overte C++ Documentation
SceneTask.h
1 //
2 // SceneTask.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_SceneTask_h
13 #define hifi_render_SceneTask_h
14 
15 #include "Engine.h"
16 
17 namespace render {
18 
19  class PerformSceneTransactionConfig : public Job::Config {
20  Q_OBJECT
21  public:
22  signals:
23  void dirty();
24 
25  protected:
26  };
27 
28  class PerformSceneTransaction {
29  public:
30  using Config = PerformSceneTransactionConfig;
31  using JobModel = Job::Model<PerformSceneTransaction, Config>;
32 
33  void configure(const Config& config);
34  void run(const RenderContextPointer& renderContext);
35  protected:
36  };
37 
38 
39 }
40 
41 #endif // hifi_render_SceneTask_h