Cogs.Core
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Cogs::Core::PostProcessTask Struct Reference
Inheritance diagram for Cogs::Core::PostProcessTask:
Cogs::Core::ProcessTask Cogs::Core::RenderTask Cogs::Core::MipLevelsTask

Public Member Functions

void initialize (RenderTaskContext *context) override
 
void apply (RenderTaskContext *context) override
 
- Public Member Functions inherited from Cogs::Core::ProcessTask
EffectDescription createEffectDesc (RenderTaskContext *context)
 
void cleanup (RenderTaskContext *context) override
 
void setProperties (RenderTaskContext *context, Cogs::Core::RenderTexture *targetSource=nullptr)
 
- Public Member Functions inherited from Cogs::Core::RenderTask
virtual void initialize (RenderTaskContext *)
 
virtual void cleanup (RenderTaskContext *)
 
virtual void apply (RenderTaskContext *)=0
 
bool isStatic () const
 

Public Attributes

bool clear = false
 
bool clearToDefault = true
 
bool viewportFromTarget = false
 
bool writeDepth = false
 
- Public Attributes inherited from Cogs::Core::ProcessTask
ParsedValue effectParameter
 
BlendMode blendMode = BlendMode::None
 
uint32_t texUnit = 0
 
ExpressionContextscope = nullptr
 
std::vector< ProcessTaskPropertyproperties
 
ProcessTaskProperty groups
 
struct CachedEffecteffect = nullptr
 
- Public Attributes inherited from Cogs::Core::RenderTask
RenderTaskResources input
 
RenderTaskResources output
 
std::string name
 
std::vector< std::string > dependencies
 
PipelineOptions options
 
RenderTaskFlags::ERenderTaskFlags flags = RenderTaskFlags::None
 
bool allowSelfDependency = false
 
size_t frameMod = 0
 
size_t frameOffset = 0
 
std::function< void(void)> deleter
 

Protected Attributes

std::string scopeName
 
InputLayoutHandle inputLayout
 
SamplerStateBindingHandle samplerStateBindings [4]
 
SamplerStateHandle samplerStates [4]
 

Detailed Description

Definition at line 11 of file PostProcessTask.h.

Constructor & Destructor Documentation

◆ ~PostProcessTask()

virtual Cogs::Core::PostProcessTask::~PostProcessTask ( )
inlinevirtual

Definition at line 13 of file PostProcessTask.h.

Member Function Documentation

◆ apply()

void Cogs::Core::PostProcessTask::apply ( RenderTaskContext context)
overridevirtual

Implements Cogs::Core::RenderTask.

Definition at line 67 of file PostProcessTask.cpp.

◆ initialize()

void Cogs::Core::PostProcessTask::initialize ( RenderTaskContext context)
overridevirtual

Reimplemented from Cogs::Core::RenderTask.

Definition at line 27 of file PostProcessTask.cpp.

Member Data Documentation

◆ clear

bool Cogs::Core::PostProcessTask::clear = false

Definition at line 18 of file PostProcessTask.h.

◆ clearToDefault

bool Cogs::Core::PostProcessTask::clearToDefault = true

Definition at line 19 of file PostProcessTask.h.

◆ inputLayout

InputLayoutHandle Cogs::Core::PostProcessTask::inputLayout
protected

Definition at line 27 of file PostProcessTask.h.

◆ samplerStateBindings

SamplerStateBindingHandle Cogs::Core::PostProcessTask::samplerStateBindings[4]
protected

Definition at line 28 of file PostProcessTask.h.

◆ samplerStates

SamplerStateHandle Cogs::Core::PostProcessTask::samplerStates[4]
protected

Definition at line 29 of file PostProcessTask.h.

◆ scopeName

std::string Cogs::Core::PostProcessTask::scopeName
protected

Definition at line 25 of file PostProcessTask.h.

◆ viewportFromTarget

bool Cogs::Core::PostProcessTask::viewportFromTarget = false

Definition at line 20 of file PostProcessTask.h.

◆ writeDepth

bool Cogs::Core::PostProcessTask::writeDepth = false

Definition at line 22 of file PostProcessTask.h.


The documentation for this struct was generated from the following files: