Nameless Engine
Loading...
Searching...
No Matches
EngineShaderNames.hpp
1#pragma once
2
3// Standard.
4#include <string>
5
6namespace ne {
7
10 public:
11 EngineShaderNames() = delete;
12
14 struct MeshNode {
20 static inline std::string getVertexShaderName() { return "engine.meshnode.vs"; }
21
27 static inline std::string getFragmentShaderName() { return "engine.meshnode.fs"; }
28 };
29
31 struct PointLight {
38 static inline std::string_view getFragmentShaderName() { return "engine.pointlight.fs"; }
39 };
40
42 struct ForwardPlus {
49 static inline std::string getCalculateFrustumGridComputeShaderName() {
50 return "engine.fp.frustum_grid.comp";
51 }
52
59 static inline std::string getPrepareLightCullingComputeShaderName() {
60 return "engine.fp.pre_light_culling.comp";
61 }
62
68 static inline std::string getLightCullingComputeShaderName() {
69 return "engine.fp.light_culling.comp";
70 }
71 };
72 };
73} // namespace ne
Definition: EngineShaderNames.hpp:9
Definition: EngineShaderNames.hpp:42
static std::string getLightCullingComputeShaderName()
Definition: EngineShaderNames.hpp:68
static std::string getCalculateFrustumGridComputeShaderName()
Definition: EngineShaderNames.hpp:49
static std::string getPrepareLightCullingComputeShaderName()
Definition: EngineShaderNames.hpp:59
Definition: EngineShaderNames.hpp:14
static std::string getVertexShaderName()
Definition: EngineShaderNames.hpp:20
static std::string getFragmentShaderName()
Definition: EngineShaderNames.hpp:27
Definition: EngineShaderNames.hpp:31
static std::string_view getFragmentShaderName()
Definition: EngineShaderNames.hpp:38