Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions | Variables
glare.cpp File Reference
#include "SDL_opengl.h"
#include "inexor/engine/glemu.hpp"
#include "inexor/engine/rendertarget.hpp"
#include "inexor/engine/shader.hpp"
#include "inexor/network/SharedVar.hpp"
#include "inexor/shared/command.hpp"

Classes

struct  glaretexture
 

Functions

void cleanupglare ()
 
 VARFP (glaresize, 6, 8, 10, cleanupglare())
 
 VARP (glare, 0, 0, 1)
 
 VARP (blurglare, 0, 4, 7)
 
 VARP (blurglaresigma, 1, 50, 200)
 
 VAR (debugglare, 0, 0, 1)
 
void viewglaretex ()
 
void drawglaretex ()
 
 FVARP (glarescale, 0, 1, 8)
 
void addglare ()
 

Variables

glaretexture glaretex
 
bool glaring = false
 

Function Documentation

void addglare ( )
void cleanupglare ( )

References rendertarget::cleanup(), and glaretex.

Referenced by resetgl().

void drawglaretex ( )

References f(), glaretex, and rendertarget::render().

Referenced by gl_drawframe().

FVARP ( glarescale  ,
,
,
 
)
VAR ( debugglare  ,
,
,
 
)
VARFP ( glaresize  ,
,
,
10  ,
cleanupglare()   
)
VARP ( glare  ,
,
,
 
)
VARP ( blurglare  ,
,
,
 
)
VARP ( blurglaresigma  ,
,
50  ,
200   
)
void viewglaretex ( )

References rendertarget::debug(), and glaretex.

Referenced by gl_drawhud().

Variable Documentation

glaretexture glaretex
static
bool glaring = false