Hymn to Beauty
C++ 3D Engine
Video::PostProcessing Class Reference

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...
 

Detailed Description

Applies post-processing effects to the rendered image.

Constructor & Destructor Documentation

◆ PostProcessing()

PostProcessing::PostProcessing ( LowLevelRenderer lowLevelRenderer)
explicit

Create new post-processing handler.

Parameters
lowLevelRendererThe low-level renderer to use.

◆ ~PostProcessing()

PostProcessing::~PostProcessing ( )

Destructor.

Member Function Documentation

◆ ApplyPostProcessing()

void PostProcessing::ApplyPostProcessing ( CommandBuffer commandBuffer,
Texture inputTexture,
Texture::Format  format 
)

Apply post-processing effects.

Parameters
commandBufferCommand buffer to build commands into.
inputTextureThe render texture containing the rendered image.
formatThe format to use for intermediate textures.
Returns
The texture to blit to the swap chain.

◆ Configure()

void PostProcessing::Configure ( const Configuration configuration,
Texture outputTexture 
)

Configure the post-processing.

Parameters
configurationThe configuration.
outputTextureThe texture to output to.

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