Vp::PointLight
#include "Viewport/scene/lights/PointLight.h"
Inherits from Vp::Light
Public Functions
Name | |
---|---|
virtual void | setUniforms(const PhongShader & shader, int index) const |
Public Attributes
Name | |
---|---|
float | radius |
Additional inherited members
Public Functions inherited from Vp::Light
Name | |
---|---|
virtual | ~Light() =default |
Public Attributes inherited from Vp::Light
Name | |
---|---|
glm::vec3 | color |
float | intensity |
glm::vec3 | pos |
glm::vec3 | specular |
Public Functions Documentation
function setUniforms
cpp
virtual void setUniforms(
const PhongShader & shader,
int index
) const
virtual void setUniforms(
const PhongShader & shader,
int index
) const
Reimplements: Vp::Light::setUniforms
Public Attributes Documentation
variable radius
cpp
float radius = 12.0f;
float radius = 12.0f;
Updated on 2024-11-06 at 20:16:53 +0000