Cogs.Core
TransparencyUpscaleTask.h
1#pragma once
2
3#include "RenderTask.h"
4
5#include "Rendering/Common.h"
6
7namespace Cogs::Core
8{
10 {
11 virtual ~TransparencyUpscaleTask() {}
12 void initialize(RenderTaskContext * context) override;
13 void cleanup(RenderTaskContext * context) override;
15 void apply(RenderTaskContext * context) override;
16 private:
17 struct CachedEffect * effect = nullptr;
18 BufferHandle parameterHandle;
20 };
21}// namespace ...
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
ResourceStatus
Status of an asynchronously loaded resource, such as an effect or a pipeline.
Definition: Common.h:198
@ Pending
The resource is still loading.
Cogs::ResourceStatus checkReady(RenderTaskContext *context) override
Check if the task is ready to be applied, e.g.