summaryrefslogblamecommitdiffstats
path: root/src/render/MBlur.h
blob: 3129c0702aa3c887ab9c2587ff8507d2a545898d (plain) (tree)
1
2
3
4
5
6
7
8
9



            
       


                                        
                               




                                                                         

                                                                                                                    
                                     
  
#pragma once

class CMBlur
{
public:
	static RwRaster *pFrontBuffer;
	static bool ms_bJustInitialised;
	static bool BlurOn;
	static float Drunkness;

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);
	static void ClearDrunkBlur();
};