summaryrefslogtreecommitdiffstats
path: root/src/renderer/MBlur.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-15 17:19:32 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-17 23:04:26 +0200
commitd0404cbdb77bd82abf578ce28093990db94743f2 (patch)
tree1a7232c3dcdd6c371ab5fbde0fc6bf04c5bc7005 /src/renderer/MBlur.h
parentMerge pull request #1217 from Nopey/master (diff)
downloadre3-d0404cbdb77bd82abf578ce28093990db94743f2.tar
re3-d0404cbdb77bd82abf578ce28093990db94743f2.tar.gz
re3-d0404cbdb77bd82abf578ce28093990db94743f2.tar.bz2
re3-d0404cbdb77bd82abf578ce28093990db94743f2.tar.lz
re3-d0404cbdb77bd82abf578ce28093990db94743f2.tar.xz
re3-d0404cbdb77bd82abf578ce28093990db94743f2.tar.zst
re3-d0404cbdb77bd82abf578ce28093990db94743f2.zip
Diffstat (limited to 'src/renderer/MBlur.h')
-rw-r--r--src/renderer/MBlur.h17
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);
+};