summaryrefslogblamecommitdiffstats
path: root/src/render/MBlur.h
blob: e2e5d38cf8b652f51f08349c187b3f3224dd75b8 (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 ms_bScaledBlur;
	static bool BlurOn;

public:
	static RwBool MotionBlurOpen(RwCamera *cam);
	static RwBool MotionBlurClose(void);
	static void CreateImmediateModeData(RwCamera *cam, RwRect *rect);
	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);
};