2019-05-30 07:35:13 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CMBlur
|
|
|
|
{
|
2019-07-03 11:26:15 -04:00
|
|
|
public:
|
2020-04-17 01:54:14 -04:00
|
|
|
static RwRaster *pFrontBuffer;
|
|
|
|
static bool ms_bJustInitialised;
|
2020-06-27 17:01:51 -04:00
|
|
|
static bool ms_bScaledBlur;
|
2020-04-17 01:54:14 -04:00
|
|
|
static bool BlurOn;
|
2019-05-30 07:35:13 -04:00
|
|
|
|
|
|
|
public:
|
2020-06-27 17:01:51 -04:00
|
|
|
static RwBool MotionBlurOpen(RwCamera *cam);
|
|
|
|
static RwBool MotionBlurClose(void);
|
2019-05-30 07:35:13 -04:00
|
|
|
static void CreateImmediateModeData(RwCamera *cam, RwRect *rect);
|
2020-06-29 06:12:52 -04:00
|
|
|
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);
|
2019-05-30 07:35:13 -04:00
|
|
|
};
|