Saga
Saga Game Engine
Loading...
Searching...
No Matches
light.h
Go to the documentation of this file.
1#pragma once
2
3#include "Graphics/light.h"
4#include <memory>
5
6namespace Saga {
7
12struct Light {
13 std::shared_ptr<GraphicsEngine::Light> light;
14
15 operator const std::shared_ptr<GraphicsEngine::Light> &() const { return light; }
16
20 Light();
21
29 Light(GraphicsEngine::LightType type, glm::vec3 lightData, glm::vec3 lightColor = glm::vec3(1));
30};
31
32}
Definition: app.cpp:8
Model a light. Wrapper around GraphicsEngine's light. Currently only support Point and Directional Li...
Definition: light.h:12
std::shared_ptr< GraphicsEngine::Light > light
Definition: light.h:13
Light()
Construct a new Light object. Should not be used.
Definition: light.cpp:4