Class for light. More...
#include <Light.hpp>
Collaboration diagram for ven::Light:Public Types | |
| using | Map = std::unordered_map<unsigned int, Light> |
Public Member Functions | |
| Light (const unsigned int objId) | |
| ~Light ()=default | |
| Light (const Light &)=delete | |
| Light & | operator= (const Light &)=delete |
| Light (Light &&)=default | |
| Light & | operator= (Light &&)=default |
| unsigned int | getId () const |
| std::string | getName () const |
| float | getShininess () const |
| void | setName (const std::string &name) |
| void | setShininess (const float shininess) |
Public Attributes | |
| glm::vec4 | color {DEFAULT_LIGHT_COLOR} |
| Transform3D | transform {} |
Private Attributes | |
| unsigned int | m_lightId |
| std::string | m_name {"point light"} |
| float | m_shininess {DEFAULT_SHININESS} |
| using ven::Light::Map = std::unordered_map<unsigned int, Light> |
|
inlineexplicit |
|
default |
|
delete |
|
default |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 45 of file Light.hpp.
References m_shininess.
|
inline |
|
inline |
Definition at line 48 of file Light.hpp.
References m_shininess.
| glm::vec4 ven::Light::color {DEFAULT_LIGHT_COLOR} |
Definition at line 50 of file Light.hpp.
Referenced by ven::LightFactory::duplicate().
|
private |
|
private |
|
private |
Definition at line 57 of file Light.hpp.
Referenced by getShininess(), and setShininess().
| Transform3D ven::Light::transform {} |
Definition at line 51 of file Light.hpp.
Referenced by ven::LightFactory::duplicate().