Cogs.Core
Source
Renderer
Tasks
PostProcessTask.h
1
#pragma once
2
3
#include "ProcessTask.h"
4
5
#include "Rendering/Common.h"
6
7
namespace
Cogs
8
{
9
namespace
Core
10
{
11
struct
PostProcessTask
:
public
ProcessTask
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
}
Cogs
Contains all Cogs related functionality.
Definition:
FieldSetter.h:23
Cogs::Core::PostProcessTask
Definition:
PostProcessTask.h:12
Cogs::Core::ProcessTask
Definition:
ProcessTask.h:55
Cogs::Core::RenderTaskContext
Definition:
RenderTask.h:53
Cogs::Core::RenderTaskDefinition
Definition:
RenderPipelineDefinition.h:80
Cogs::Handle_t< InputLayoutTag >
Generated by
1.9.6