diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-07-23 23:47:04 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-07-23 23:47:04 +0200 |
commit | a7e673c2ec6a5ed25f3bae8caab90e2113158c03 (patch) | |
tree | 8c88859a32b0613a4c28fd1a0432504403e5a5e6 /src/renderer/MBlur.h | |
parent | fix premake (diff) | |
download | re3-a7e673c2ec6a5ed25f3bae8caab90e2113158c03.tar re3-a7e673c2ec6a5ed25f3bae8caab90e2113158c03.tar.gz re3-a7e673c2ec6a5ed25f3bae8caab90e2113158c03.tar.bz2 re3-a7e673c2ec6a5ed25f3bae8caab90e2113158c03.tar.lz re3-a7e673c2ec6a5ed25f3bae8caab90e2113158c03.tar.xz re3-a7e673c2ec6a5ed25f3bae8caab90e2113158c03.tar.zst re3-a7e673c2ec6a5ed25f3bae8caab90e2113158c03.zip |
Diffstat (limited to 'src/renderer/MBlur.h')
-rw-r--r-- | src/renderer/MBlur.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/renderer/MBlur.h b/src/renderer/MBlur.h new file mode 100644 index 00000000..e2e5d38c --- /dev/null +++ b/src/renderer/MBlur.h @@ -0,0 +1,17 @@ +#pragma once + +class CMBlur +{ +public: + static RwRaster *pFrontBuffer; + static bool ms_bJustInitialised; + static bool ms_bScaledBlur; + static bool BlurOn; + +public: + static RwBool MotionBlurOpen(RwCamera *cam); + static RwBool MotionBlurClose(void); + static void CreateImmediateModeData(RwCamera *cam, RwRect *rect); + static void MotionBlurRender(RwCamera *cam, uint32 red, uint32 green, uint32 blue, uint32 blur, int32 type, uint32 bluralpha); + static void OverlayRender(RwCamera *cam, RwRaster *raster, RwRGBA color, int32 type, int32 bluralpha); +}; |