Elevate Engine
1
Loading...
Searching...
No Matches
PointLight.h
Go to the documentation of this file.
1
#pragma once
2
#include "
Light.h
"
3
4
namespace
Elevate
5
{
6
class
PointLight
:
public
Light
7
{
8
BEGIN_COMPONENT
(
PointLight
)
9
DECLARE_BASE
(
Light
)
10
public
:
11
PointLight
() =
default
;
12
PointLight
(
const
glm::vec3& color) :
Light
(color) { }
13
void
UploadToShader
(
Shader
* shader, uint32_t index);
14
15
END_COMPONENT
()
16
};
17
}
DECLARE_BASE
#define DECLARE_BASE(BaseType)
Definition
ComponentRegistry.h:319
BEGIN_COMPONENT
#define BEGIN_COMPONENT(T,...)
Definition
ComponentRegistry.h:187
END_COMPONENT
#define END_COMPONENT()
Definition
ComponentRegistry.h:228
Light.h
Elevate::Light
Definition
Light.h:12
Elevate::PointLight
Definition
PointLight.h:7
Elevate::PointLight::PointLight
PointLight()=default
Elevate::PointLight::UploadToShader
void UploadToShader(Shader *shader, uint32_t index)
Definition
PointLight.cpp:8
Elevate::PointLight::PointLight
PointLight(const glm::vec3 &color)
Definition
PointLight.h:12
Elevate::Shader
Definition
Shader.h:23
Elevate
Definition
AudioDistanceProbe.h:9
ElevateEngine
src
ElevateEngine
Renderer
Light
PointLight.h
Generated by
1.9.8