Cogs.Core
PipelineService.h
1#pragma once
2
3#include "Base.h"
4#include "Resources/Resources.h"
5
6#include "Foundation/Reflection/TypeDatabase.h"
7
8namespace Cogs::Core
9{
11 {
12 struct CameraData* cameraData = nullptr;
13 TextureHandle renderTexture;
14 StringView name;
15 std::string pipeline;
16 int priority = 1;
17 bool enabled = false;
18 bool culling = false;
19 };
20
21 class COGSCORE_DLL_API PipelineService
22 {
23 public:
24 PipelineService(class Context* context);
26
27 PipelineRun* createPipelineRun();
28 void destroyPipelineRun(PipelineRun* run);
29
30 std::vector<PipelineRun*> runs;
31 };
32}
33
34template<> inline Cogs::StringView getName<Cogs::Core::PipelineService>() { return "PipelineService"; }
A Context instance contains all the services, systems and runtime components needed to use Cogs.
Definition: Context.h:83
Provides a weakly referenced view over the contents of a string.
Definition: StringView.h:24
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
Contains data describing a Camera instance and its derived data structured such as matrix data and vi...
Definition: CameraSystem.h:67