summaryrefslogblamecommitdiffstats
path: root/src/render/MBlur.h
blob: 67ed658f16341fe5eeedc0aad1fe595ab59dde07 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
};