reimplement postprocessing and fix one shader as example

This commit is contained in:
degasus
2013-03-07 17:00:11 +01:00
parent 5dd502df3b
commit 800a58f01c
5 changed files with 140 additions and 60 deletions

View File

@ -30,9 +30,13 @@ namespace PostProcessing
void Init();
void Shutdown();
void BindTargetFramebuffer();
void BlitToScreen();
void Update(u32 width, u32 height);
void ReloadShader();
// Returns false if no shader was applied.
bool ApplyShader();
void ApplyShader();
} // namespace