|
Hymn to Beauty
C++ 3D Engine
|
Applies post-processing effects to the rendered image. More...
#include <PostProcessing.hpp>
Classes | |
| struct | Configuration |
| Post-processing configuration. More... | |
Public Member Functions | |
| PostProcessing (LowLevelRenderer *lowLevelRenderer) | |
| Create new post-processing handler. More... | |
| ~PostProcessing () | |
| Destructor. More... | |
| void | Configure (const Configuration &configuration, Texture *outputTexture) |
| Configure the post-processing. More... | |
| void | ApplyPostProcessing (CommandBuffer &commandBuffer, Texture *inputTexture, Texture::Format format) |
| Apply post-processing effects. More... | |
Applies post-processing effects to the rendered image.
|
explicit |
Create new post-processing handler.
| lowLevelRenderer | The low-level renderer to use. |
| PostProcessing::~PostProcessing | ( | ) |
Destructor.
| void PostProcessing::ApplyPostProcessing | ( | CommandBuffer & | commandBuffer, |
| Texture * | inputTexture, | ||
| Texture::Format | format | ||
| ) |
Apply post-processing effects.
| commandBuffer | Command buffer to build commands into. |
| inputTexture | The render texture containing the rendered image. |
| format | The format to use for intermediate textures. |
| void PostProcessing::Configure | ( | const Configuration & | configuration, |
| Texture * | outputTexture | ||
| ) |
Configure the post-processing.
| configuration | The configuration. |
| outputTexture | The texture to output to. |