Repository navigation
Expand file tree
/
Copy pathAppConfig.h
More file actions
49 lines (42 loc) · 1.69 KB
/
Copy pathAppConfig.h
File metadata and controls
49 lines (42 loc) · 1.69 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
/**
* @file AppConfig.h
* @brief This header file keeps example specific constants and settings.
* @author Mustafa Yemural (myemural)
* @date 13.10.2025
*
* Copyright (c) 2025 Mustafa Yemural - www.mustafayemural.com
* Released under the MIT License
* https://opensource.org/licenses/MIT
*/
#pragma once
namespace examples::fundamentals::model_loading::gltf_mesh_textured
{
namespace constants
{
// Shaders
inline constexpr auto kMainVertexShaderFile = "position_with_mvp.vert.spv";
inline constexpr auto kMainFragmentShaderFile = "texture_sampler.frag.spv";
inline constexpr auto kMainVertexShaderKey = "vertMain";
inline constexpr auto kMainFragmentShaderKey = "fragMain";
// Buffers
inline constexpr auto kAvocadoVertexBuffer = "avocadoVertexBuffer";
inline constexpr auto kAvocadoIndexBuffer = "avocadoIndexBuffer";
// Images and Image Views
inline constexpr auto kMeshImage = "meshImage";
inline constexpr auto kMeshImageView = "meshImageView";
inline constexpr auto kDepthImage = "depthImage";
inline constexpr auto kDepthImageView = "depthImageView";
// Samplers
inline constexpr auto kMainSampler = "mainSampler";
// Descriptor Sets and Layouts
inline constexpr auto kMainDescSetLayout = "mainDescSetLayout";
// Models
inline constexpr auto kAvocadoModelPath = "Models/Avocado.glb";
} // namespace constants
namespace AppSettings
{
constexpr auto ClearColor = "AppSettings.ClearColor";
constexpr auto MouseSensitivity = "AppSettings.MouseSensitivity";
constexpr auto CameraSpeed = "AppSettings.CameraSpeed";
} // namespace AppSettings
} // namespace examples::fundamentals::model_loading::gltf_mesh_textured