|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include <postprocess.h>
Public Member Functions | |
| PostProcess () | |
| ~PostProcess () | |
| PostProcess (const PostProcess &)=delete | |
| PostProcess & | operator= (const PostProcess &)=delete |
| void | Begin (const GraphicsSettings &graphics) |
| void | Begin (const GraphicsSettings &graphics, int width, int height) |
| void | End () |
| void | Draw () |
| Draws the frame to the screen, with bloom if it's on. | |
| void | DrawOnto (const RenderTexture2D &into) |
What the world goes through on its way to the screen. The renderer draws it into a frame of our own, a render texture, and the frame goes to the screen from there, so that shaders can work on the whole picture first. The GUI goes on top, as it is.
Definition at line 16 of file postprocess.h.
| nanommo::PostProcess::PostProcess | ( | ) |
Definition at line 155 of file postprocess.cc.
| nanommo::PostProcess::~PostProcess | ( | ) |
Definition at line 161 of file postprocess.cc.
|
delete |
| void nanommo::PostProcess::Begin | ( | const GraphicsSettings & | graphics | ) |
What's drawn from here goes into the frame, until End, and Draw puts it on the screen as the settings say.
Definition at line 173 of file postprocess.cc.
| void nanommo::PostProcess::Begin | ( | const GraphicsSettings & | graphics, |
| int | width, | ||
| int | height ) |
Into a frame of that many pixels, whatever the window's size, as for a film's.
Definition at line 179 of file postprocess.cc.
| void nanommo::PostProcess::Draw | ( | ) |
Draws the frame to the screen, with bloom if it's on.
Definition at line 235 of file postprocess.cc.
| void nanommo::PostProcess::DrawOnto | ( | const RenderTexture2D & | into | ) |
Draws the frame into the render texture instead, at its size, as for a film's frame. The passes before the last switch to frames of their own, so this one picks the render texture itself.
Definition at line 237 of file postprocess.cc.
| void nanommo::PostProcess::End | ( | ) |
Definition at line 208 of file postprocess.cc.
|
delete |