LensFlare Class Reference

Camera lens flare compositor. More...

#include <rendering/rendering.hh>

Public Member Functions

 LensFlare ()
 Constructor. More...
 
virtual ~LensFlare ()
 Destructor. More...
 
void SetCamera (CameraPtr _camera)
 Set the camera which lensFlare will be applied to. More...
 
void SetScale (const double _scale)
 Set the scale of lens flare. More...
 

Detailed Description

Camera lens flare compositor.

This lens flare effect does not perform any depth checking so if the directional light is occluded by an object in the scene, lens flare will pass through the object. The lens flare's color is set by the shaders and not exposed through an API in this class.

Constructor & Destructor Documentation

◆ LensFlare()

LensFlare ( )

Constructor.

◆ ~LensFlare()

virtual ~LensFlare ( )
virtual

Destructor.

Member Function Documentation

◆ SetCamera()

void SetCamera ( CameraPtr  _camera)

Set the camera which lensFlare will be applied to.

Parameters
[in]_cameraCamera to be distorted

◆ SetScale()

void SetScale ( const double  _scale)

Set the scale of lens flare.

Must be greater than 0.

Parameters
[in]_scaleScale of lens flare

The documentation for this class was generated from the following file: