Cogs.Core
ResolveResourceTask.h
1#pragma once
2
3#include "Renderer/Tasks/RenderTask.h"
4
5namespace Cogs::Core
6{
7 struct CachedEffect;
8
10 {
11 public:
12 virtual ~ResolveResourceTask() {}
13
14 void cleanup(RenderTaskContext * context);
15 void apply(RenderTaskContext * renderContext) override;
16
17 bool setupColorEffect(RenderTaskContext * context);
18 bool setupDepthEffect(RenderTaskContext * context);
19 void resolveColorShader(RenderTaskContext * context,
20 RenderTexture * inputTexture,
21 RenderTexture * outputTexture);
22 void resolveDepthShader(RenderTaskContext * context,
23 RenderTexture * inputTexture,
24 RenderTexture * outputTexture);
25
26 CachedEffect* colorEffect = nullptr;
29
30 CachedEffect* depthEffect = nullptr;
33 };
34}
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
static const Handle_t NoHandle
Represents a handle to nothing.
Definition: Common.h:78