Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
mnd::PostProcess Class Reference

#include <PostProcess.h>

Public Member Functions

bool Init ()
 
void Destroy ()
 
void Resize (int w, int h)
 Lazily resize the internal output FBO to match the scene target.
 
void RunOutline (const RenderTarget &scene, const CameraData &cam)
 Run the outline pass, sampling scene and writing to OutputTex().
 
GLuint OutputTex () const
 
bool IsValid () const
 

Public Attributes

float depthEdgeStrength = 0.4F
 
float normalEdgeStrength = 0.3F
 

Detailed Description

Definition at line 26 of file PostProcess.h.

Member Function Documentation

◆ Destroy()

void mnd::PostProcess::Destroy ( )

Definition at line 116 of file PostProcess.cpp.

Referenced by mnd::Engine::Destroy().

◆ Init()

bool mnd::PostProcess::Init ( )

◆ IsValid()

bool mnd::PostProcess::IsValid ( ) const
inline

Definition at line 39 of file PostProcess.h.

Referenced by mnd::Engine::Run().

◆ OutputTex()

GLuint mnd::PostProcess::OutputTex ( ) const
inline

Definition at line 38 of file PostProcess.h.

Referenced by mnd::Engine::Run().

◆ Resize()

void mnd::PostProcess::Resize ( int  w,
int  h 
)

Lazily resize the internal output FBO to match the scene target.

Definition at line 178 of file PostProcess.cpp.

Referenced by RunOutline().

◆ RunOutline()

Member Data Documentation

◆ depthEdgeStrength

float mnd::PostProcess::depthEdgeStrength = 0.4F

Definition at line 42 of file PostProcess.h.

Referenced by mnd::Engine::Run(), and RunOutline().

◆ normalEdgeStrength

float mnd::PostProcess::normalEdgeStrength = 0.3F

Definition at line 43 of file PostProcess.h.

Referenced by mnd::Engine::Run(), and RunOutline().


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