Repository navigation
Expand file tree
/
Copy pathAppConfig.h
More file actions
57 lines (50 loc) · 2.16 KB
/
Copy pathAppConfig.h
File metadata and controls
57 lines (50 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/**
* @file AppConfig.h
* @brief This header file keeps example specific constants and settings.
* @author Mustafa Yemural (myemural)
* @date 14.12.2025
*
* Copyright (c) 2025 Mustafa Yemural - www.mustafayemural.com
* Released under the MIT License
* https://opensource.org/licenses/MIT
*/
#pragma once
namespace examples::real_time_lighting::light_sources::directional_light
{
namespace constants
{
// Shaders
inline constexpr auto kMainVertexShaderFile = "blinn_phong_directional.vert.spv";
inline constexpr auto kSceneObjectsFragmentShaderFile = "blinn_phong_directional.frag.spv";
inline constexpr auto kMainVertexShaderKey = "vertMain";
inline constexpr auto kSceneObjectsFragmentShaderKey = "fragScene";
// Buffers
inline constexpr auto kLightUniformBuffer = "lightUniformBuffer";
// Images and Image Views
inline constexpr auto kDepthImage = "depthImage";
inline constexpr auto kDepthImageView = "depthImageView";
// Descriptor Sets and Layouts
inline constexpr auto kMainDescSet = "mainDescSet";
inline constexpr auto kMainDescSetLayout = "mainDescSetLayout";
// Materials
inline constexpr auto kDefaultMaterial = "defaultMaterial";
// Scene Objects
inline constexpr auto kRootObject = "root";
inline constexpr auto kCubeObject = "cube";
inline constexpr auto kSphereObject = "sphere";
inline constexpr auto kConeObject = "cone";
inline constexpr auto kCylinderObject = "cylinder";
inline constexpr auto kPlaneObject = "plane";
} // namespace constants
namespace AppSettings
{
constexpr auto ClearColor = "AppSettings.ClearColor";
constexpr auto MouseSensitivity = "AppSettings.MouseSensitivity";
constexpr auto CameraSpeed = "AppSettings.CameraSpeed";
constexpr auto LightDirection = "AppSettings.LightDirection";
constexpr auto LightColor = "AppSettings.LightColor";
constexpr auto AmbientStrength = "AppSettings.AmbientStrength";
constexpr auto SpecularStrength = "AppSettings.SpecularStrength";
constexpr auto Shininess = "AppSettings.Shininess";
} // namespace AppSettings
} // namespace examples::real_time_lighting::light_sources::directional_light