OpenMoHAA ..
Loading...
Searching...
No Matches
dlight_lens_flare Class Reference
Inheritance diagram for dlight_lens_flare:
lens_flare lens_flare

Public Member Functions

void Try () override
void Init (const char *which) override
void Try () override
void Init (const char *which) override
Public Member Functions inherited from lens_flare
bool CheckRange ()
bool CheckRay ()
bool ScreenCalc ()
void ScreenBlend ()
void InPortalSky ()
void NotInPortalSky ()
void SetVect (const float *vect)
void SetColor (const float *c)
void SetAlpha (float a)
bool CheckRange ()
bool CheckRay ()
bool ScreenCalc ()
void ScreenBlend ()
void InPortalSky ()
void NotInPortalSky ()
void SetVect (const float *vect)
void SetColor (const float *c)
void SetAlpha (float a)

Public Attributes

shader_t * corona_shader
Public Attributes inherited from lens_flare
float dot_min
float fullscale
int num_flares
flare_s flares [MAX_FLARES]
shader_t * fullscreen
int fullfade
qboolean blend_active
vec3_t trace_v
vec3_t v
vec3_t color
float alpha
vec2_t screen
float dot
int lasttime
float lastbright
bool inportalsky
qboolean initted

Additional Inherited Members

Static Public Attributes inherited from lens_flare
static int max_flares

Member Function Documentation

◆ Init() [1/2]

void dlight_lens_flare::Init ( const char * which)
inlineoverridevirtual

Reimplemented from lens_flare.

◆ Init() [2/2]

void dlight_lens_flare::Init ( const char * which)
inlineoverridevirtual

Reimplemented from lens_flare.

◆ Try() [1/2]

void dlight_lens_flare::Try ( )
overridevirtual

Reimplemented from lens_flare.

◆ Try() [2/2]

void dlight_lens_flare::Try ( )
overridevirtual

Reimplemented from lens_flare.


The documentation for this class was generated from the following files:
  • code/renderergl1/tr_sun_flare.cpp
  • code/renderergl2/tr_sun_flare.cpp