![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
Manages post processing effects to apply to combined scene. More...
#include <PostEffect.hpp>
Public Member Functions | |
virtual | ~PostEffect ()=default |
Destructor. | |
virtual void | resize (const int width, const int height)=0 |
Resize framebuffers. | |
virtual unsigned int | render (const unsigned int input)=0 |
Render effect to input texture. | |
virtual bool | is_enabled ()=0 |
Is this effect enabled? | |
Protected Member Functions | |
PostEffect ()=default | |
Constructor. | |
PostEffect (const PostEffect &)=default | |
Copy constructor. | |
PostEffect (PostEffect &&)=default | |
Move constructor. | |
PostEffect & | operator= (const PostEffect &)=default |
Copy assignment operator. | |
PostEffect & | operator= (PostEffect &&)=default |
Move assignment operator. | |
Manages post processing effects to apply to combined scene.
Definition at line 20 of file PostEffect.hpp.
|
virtualdefault |
Destructor.
|
protecteddefault |
Constructor.
|
protecteddefault |
Copy constructor.
|
protecteddefault |
Move constructor.
|
pure virtual |
Resize framebuffers.
width | New width of internal framebuffer. |
height | New height of internal framebuffer. |
Implemented in galaxy::graphics::ChromaticAberration, galaxy::graphics::FilmicGrain, galaxy::graphics::GammaCorrection, galaxy::graphics::GaussianBlur, galaxy::graphics::Sharpen, and galaxy::graphics::SMAA.
|
nodiscardpure virtual |
Render effect to input texture.
input | Input texture from previous effect or window framebuffer. |
Implemented in galaxy::graphics::ChromaticAberration, galaxy::graphics::FilmicGrain, galaxy::graphics::GammaCorrection, galaxy::graphics::GaussianBlur, galaxy::graphics::Sharpen, and galaxy::graphics::SMAA.
|
nodiscardpure virtual |
Is this effect enabled?
Implemented in galaxy::graphics::ChromaticAberration, galaxy::graphics::FilmicGrain, galaxy::graphics::GammaCorrection, galaxy::graphics::GaussianBlur, galaxy::graphics::Sharpen, and galaxy::graphics::SMAA.
|
protecteddefault |
Copy assignment operator.
|
protecteddefault |
Move assignment operator.