Cogs.Core
PostProcessTask.h
1#pragma once
2
3#include "ProcessTask.h"
4
5#include "Rendering/Common.h"
6
7namespace Cogs
8{
9 namespace Core
10 {
12 {
13 virtual ~PostProcessTask() {}
14 virtual void initialize(RenderTaskContext* context) override;
15 void initialize(RenderTaskContext * context, const RenderTaskDefinition& taskDefinition);
16 void apply(RenderTaskContext * context) override;
17
18 bool clearColor = false;
19 bool clearDepth = false;
20
21 bool clearToDefault = true;
22 bool viewportFromTarget = false;
23
24 bool writeColor = true;
25 bool writeDepth = false;
26
27 protected:
28 std::string scopeName;
29
30 InputLayoutHandle inputLayout;
31 SamplerStateBindingHandle samplerStateBindings[4];
32 SamplerStateHandle samplerStates[4];
33 };
34 }
35}
Contains all Cogs related functionality.
Definition: FieldSetter.h:23