![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
Submorphological Anti Aliasing. More...
#include <SMAA.hpp>
Inheritance diagram for galaxy::graphics::SMAA:
Collaboration diagram for galaxy::graphics::SMAA:Public Member Functions | |
| SMAA (const int width, const int height) | |
| Argument constructor. | |
| virtual | ~SMAA () |
| Destructor. | |
| void | resize (const int width, const int height) override |
| Resize framebuffers. | |
| unsigned int | render (const unsigned int input) override |
| Render effect to input texture. | |
| bool | is_enabled () override |
| Is this effect enabled? | |
Public Member Functions inherited from galaxy::graphics::PostEffect | |
| virtual | ~PostEffect ()=default |
| Destructor. | |
Private Member Functions | |
| SMAA ()=delete | |
| Constructor. | |
Private Attributes | |
| Shader | m_smaa_edge |
| SMAA Edge shader. | |
| Shader | m_smaa_blend |
| SMAA Blending shader. | |
| Shader | m_smaa_neighbourhood |
| SMAA neighbourhood shader. | |
| unsigned int | m_neighbour_tex |
| SMAA neighbour texture. | |
| unsigned int | m_edge_tex |
| SMAA edge texture. | |
| unsigned int | m_blend_tex |
| SMAA blend texture. | |
| unsigned int | m_area_tex |
| SMAA area texture. | |
| unsigned int | m_search_tex |
| SMAA search texture. | |
| unsigned int | m_neighbour_fbo |
| SMAA neighbour framebuffer. | |
| unsigned int | m_edge_fbo |
| SMAA edge framebuffer. | |
| unsigned int | m_blend_fbo |
| SMAA blend framebuffer. | |
Additional Inherited Members | |
Protected Member Functions inherited from galaxy::graphics::PostEffect | |
| 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. | |
Submorphological Anti Aliasing.
This is the first post effect you should run.
| galaxy::graphics::SMAA::SMAA | ( | const int | width, |
| const int | height ) |
|
privatedelete |
Constructor.
|
overridevirtual |
Resize framebuffers.
| width | New width of internal framebuffer. |
| height | New height of internal framebuffer. |
Implements galaxy::graphics::PostEffect.
|
nodiscardoverridevirtual |
Render effect to input texture.
| input | Input texture from previous effect or window framebuffer. |
Implements galaxy::graphics::PostEffect.
Definition at line 16098 of file SMAA.cpp.
Here is the call graph for this function:
|
nodiscardoverridevirtual |
Is this effect enabled?
Implements galaxy::graphics::PostEffect.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |