MeshLib Documentation
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)
 
bool isEnabled () const
 
const Vector2f & getShadowShift () const
 
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)
 

Constructor & Destructor Documentation

◆ ~ShadowsGL()

MRVIEWER_API MR::ShadowsGL::~ShadowsGL ( )

Member Function Documentation

◆ enable()

MRVIEWER_API void MR::ShadowsGL::enable ( bool on)

◆ getBlurRadius()

float MR::ShadowsGL::getBlurRadius ( ) const
inline

◆ getQuality()

float MR::ShadowsGL::getQuality ( ) const
inline

◆ getShadowColor()

const Vector4f & MR::ShadowsGL::getShadowColor ( ) const
inline

◆ getShadowShift()

const Vector2f & MR::ShadowsGL::getShadowShift ( ) const
inline

◆ isEnabled()

bool MR::ShadowsGL::isEnabled ( ) const
inline

◆ MR_ADD_CTOR_DELETE_MOVE()

MR::ShadowsGL::MR_ADD_CTOR_DELETE_MOVE ( ShadowsGL )

◆ setBlurRadius()

MRVIEWER_API void MR::ShadowsGL::setBlurRadius ( float radius)

◆ setQuality()

MRVIEWER_API void MR::ShadowsGL::setQuality ( float quality)

◆ setShadowColor()

MRVIEWER_API void MR::ShadowsGL::setShadowColor ( const Vector4f & color)

◆ setShadowShift()

MRVIEWER_API void MR::ShadowsGL::setShadowShift ( const Vector2f & shift)

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