summaryrefslogtreecommitdiffstats
path: root/src/renderer/MBlur.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-07-23 23:47:04 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-07-23 23:47:04 +0200
commita7e673c2ec6a5ed25f3bae8caab90e2113158c03 (patch)
tree8c88859a32b0613a4c28fd1a0432504403e5a5e6 /src/renderer/MBlur.h
parentfix premake (diff)
downloadre3-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.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);
+};