summaryrefslogtreecommitdiffstats
path: root/src/render/MBlur.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-30 13:35:13 +0200
committeraap <aap@papnet.eu>2019-05-30 13:35:13 +0200
commit852d8298b1f6c838d4d5c7fd8cfbdbf2615b62d1 (patch)
tree2efed135e4d792f86cbac02c9c9bb1eaa340d9ed /src/render/MBlur.h
parentadded CAntennas (diff)
downloadre3-852d8298b1f6c838d4d5c7fd8cfbdbf2615b62d1.tar
re3-852d8298b1f6c838d4d5c7fd8cfbdbf2615b62d1.tar.gz
re3-852d8298b1f6c838d4d5c7fd8cfbdbf2615b62d1.tar.bz2
re3-852d8298b1f6c838d4d5c7fd8cfbdbf2615b62d1.tar.lz
re3-852d8298b1f6c838d4d5c7fd8cfbdbf2615b62d1.tar.xz
re3-852d8298b1f6c838d4d5c7fd8cfbdbf2615b62d1.tar.zst
re3-852d8298b1f6c838d4d5c7fd8cfbdbf2615b62d1.zip
Diffstat (limited to 'src/render/MBlur.h')
-rw-r--r--src/render/MBlur.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/render/MBlur.h b/src/render/MBlur.h
new file mode 100644
index 00000000..67ed658f
--- /dev/null
+++ b/src/render/MBlur.h
@@ -0,0 +1,15 @@
+#pragma once
+
+class CMBlur
+{
+ static RwRaster *&pFrontBuffer;
+ static bool &ms_bJustInitialised;
+ static bool &BlurOn;
+
+public:
+ static void MotionBlurOpen(RwCamera *cam);
+ static void MotionBlurClose(void);
+ static void CreateImmediateModeData(RwCamera *cam, RwRect *rect);
+ static void MotionBlurRender(RwCamera *cam, uint32 red, uint32 green, uint32 blue, uint32 alpha, int32 type, uint32 bluralpha);
+ static void OverlayRender(RwCamera *cam, RwRaster *raster, RwRGBA color, int32 type, uint32 bluralpha);
+};