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 bool depthTest = false;
27
28 protected:
29 std::string scopeName;
30
31 InputLayoutHandle inputLayout;
32 SamplerStateBindingHandle samplerStateBindings[4];
33 SamplerStateHandle samplerStates[4];
34 };
35 }
36}
Contains all Cogs related functionality.
Definition: FieldSetter.h:23