Cogs.Core
Source
Services
PipelineService.h
1
#pragma once
2
3
#include "Base.h"
4
#include "Resources/Resources.h"
5
6
#include "Foundation/Reflection/TypeDatabase.h"
7
8
namespace
Cogs::Core
9
{
10
struct
PipelineRun
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);
25
~PipelineService
();
26
27
PipelineRun
* createPipelineRun();
28
void
destroyPipelineRun(
PipelineRun
* run);
29
30
std::vector<PipelineRun*> runs;
31
};
32
}
33
34
template
<>
inline
Cogs::StringView
getName<Cogs::Core::PipelineService>() {
return
"PipelineService"
; }
Cogs::Core::Context
A Context instance contains all the services, systems and runtime components needed to use Cogs.
Definition:
Context.h:83
Cogs::Core::PipelineService
Definition:
PipelineService.h:22
Cogs::StringView
Provides a weakly referenced view over the contents of a string.
Definition:
StringView.h:24
Cogs::Core
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
Definition:
ComponentFunctions.h:10
Cogs::Core::CameraData
Contains data describing a Camera instance and its derived data structured such as matrix data and vi...
Definition:
CameraSystem.h:67
Cogs::Core::PipelineRun
Definition:
PipelineService.h:11
Cogs::Core::ResourceHandle_t< Texture >
Generated by
1.9.6