MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ShadowsGL Class Reference

#include <MRShadowsGL.h>

Public Member Functions

 MR_ADD_CTOR_DELETE_MOVE (ShadowsGL)
 
MRVIEWER_API ~ShadowsGL ()
 
MRVIEWER_API void enable (bool on)
 subscribe to viewer events on enable, unsubscribe on disable
 
bool isEnabled () const
 
const Vector2f & getShadowShift () const
 shift in screen space
 
MRVIEWER_API void setShadowShift (const Vector2f &shift)
 
const Vector4f & getShadowColor () const
 
MRVIEWER_API void setShadowColor (const Vector4f &color)
 
float getBlurRadius () const
 
MRVIEWER_API void setBlurRadius (float radius)
 
float getQuality () const
 
MRVIEWER_API void setQuality (float quality)
 

Detailed Description

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


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