re3/src/render/MBlur.h

33 lines
697 B
C
Raw Normal View History

2019-05-30 11:35:13 +00:00
#pragma once
2020-05-26 23:16:31 +00:00
enum FxType
{
FXTYPE_0 = 0,
FXTYPE_1,
FXTYPE_2,
FXTYPE_3,
FXTYPE_4,
FXTYPE_5,
};
2019-05-30 11:35:13 +00:00
class CMBlur
{
2019-07-03 15:26:15 +00:00
public:
2020-04-17 05:54:14 +00:00
static RwRaster *pFrontBuffer;
static bool ms_bJustInitialised;
static bool BlurOn;
2020-05-15 14:30:25 +00:00
static float Drunkness;
2019-05-30 11:35:13 +00:00
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 blur, int32 type);
static void OverlayRender(RwCamera *cam, RwRaster *raster, RwRGBA color, int32 type);
2020-05-15 14:30:25 +00:00
static void ClearDrunkBlur();
2020-05-26 23:16:31 +00:00
//TODO
static void AddRenderFx(RwCamera *,RwRect *,float,FxType)
{}
2019-05-30 11:35:13 +00:00
};