From 852d8298b1f6c838d4d5c7fd8cfbdbf2615b62d1 Mon Sep 17 00:00:00 2001 From: aap Date: Thu, 30 May 2019 13:35:13 +0200 Subject: added CMBlur --- src/render/MBlur.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/render/MBlur.h (limited to 'src/render/MBlur.h') 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); +}; -- cgit v1.2.3