| Fling Engine 0.00.1 Fling Engine is a game engine written in Vulkan

Lighting.hpp
Go to the documentation of this file.
1 #pragma once
2
3 #include "FlingTypes.h"
4 #include "Buffer.h"
5 #include "DirectionalLight.hpp"
6 #include "PointLight.hpp"
7
8 namespace Fling
9 {
10 struct Lighting
11 {
13 static const UINT32 MaxDirectionalLights = 32;
14 UINT32 m_CurrentDirLights = 0;
15
17 static const UINT32 MaxPointLights = 32;
18 UINT32 m_CurrentPointLights = 0;
19
20 std::vector<Buffer*> m_LightingUBOs;
21 };
22
23 }
Fling::Lighting::MaxPointLights
static const UINT32 MaxPointLights
Point Lights.
Definition: Lighting.hpp:17
Fling::Lighting::m_CurrentPointLights
UINT32 m_CurrentPointLights
Definition: Lighting.hpp:18
PointLight.hpp
Fling::Lighting::m_CurrentDirLights
UINT32 m_CurrentDirLights
Definition: Lighting.hpp:14
Fling::Lighting::m_LightingUBOs
std::vector< Buffer * > m_LightingUBOs
Definition: Lighting.hpp:20
Fling::Lighting::MaxDirectionalLights
static const UINT32 MaxDirectionalLights
Dir Lights.
Definition: Lighting.hpp:13
Fling::Lighting
Definition: Lighting.hpp:10
DirectionalLight.hpp
UINT32
uint32_t UINT32
Definition: FlingTypes.h:13
Buffer.h
Fling
Definition: Engine.h:29
FlingTypes.h