diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-07-15 18:19:32 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-07-18 00:04:26 +0300 |
commit | d0404cbdb77bd82abf578ce28093990db94743f2 (patch) | |
tree | 1a7232c3dcdd6c371ab5fbde0fc6bf04c5bc7005 /src/renderer/MBlur.h | |
parent | 8018e40ebf2e7033e1929b4ed638afb3de7da692 (diff) |
render -> renderer (original name)
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); +}; |