#include <MRViewer/MRShadowsGL.h>
Public Member Functions | |
| ShadowsGL () | |
| out-of-line to keep the GL members of this class out of the modules using it | |
| ShadowsGL (ShadowsGL &&) noexcept=delete | |
| ShadowsGL & | operator= (ShadowsGL &&) noexcept=delete |
| ~ShadowsGL () | |
| void | enable (bool on) |
| subscribe to viewer events on enable, unsubscribe on disable | |
| bool | isEnabled () const |
| const Vector2f & | getShadowShift () const |
| shift in screen space | |
| void | setShadowShift (const Vector2f &shift) |
| const Vector4f & | getShadowColor () const |
| void | setShadowColor (const Vector4f &color) |
| float | getBlurRadius () const |
| void | setBlurRadius (float radius) |
| float | getQuality () const |
| void | setQuality (float quality) |
This class allows do draw shadows for objects in scene draws scene into texture buffer, than make shadow from: draw shadow and than draw texture with scene