2019-05-30 13:35:13 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CMBlur
|
|
|
|
{
|
2019-07-03 17:26:15 +02:00
|
|
|
public:
|
2020-04-17 07:54:14 +02:00
|
|
|
static RwRaster *pFrontBuffer;
|
|
|
|
static bool ms_bJustInitialised;
|
|
|
|
static bool BlurOn;
|
2019-05-30 13:35:13 +02:00
|
|
|
|
|
|
|
public:
|
|
|
|
static void MotionBlurOpen(RwCamera *cam);
|
|
|
|
static void MotionBlurClose(void);
|
|
|
|
static void CreateImmediateModeData(RwCamera *cam, RwRect *rect);
|
2019-05-31 11:44:43 +02:00
|
|
|
static void MotionBlurRender(RwCamera *cam, uint32 red, uint32 green, uint32 blue, uint32 blur, int32 type, uint32 addalpha);
|
2019-05-30 13:35:13 +02:00
|
|
|
static void OverlayRender(RwCamera *cam, RwRaster *raster, RwRGBA color, int32 type, uint32 bluralpha);
|
|
|
|
};
|