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
15 void initialize(RenderTaskContext * context) override;
16 void apply(RenderTaskContext * context) override;
17
18 bool clear = false;
19 bool clearToDefault = true;
20 bool viewportFromTarget = false;
21
22 bool writeDepth = false;
23
24 protected:
25 std::string scopeName;
26
27 InputLayoutHandle inputLayout;
28 SamplerStateBindingHandle samplerStateBindings[4];
29 SamplerStateHandle samplerStates[4];
30 };
31 }
32}
Contains all Cogs related functionality.
Definition: FieldSetter.h:23