#include <EngineShaders.hpp>
Stores engine shader descriptions.
◆ constructPathToShaderSourceFile()
static std::filesystem::path ne::EngineShaders::constructPathToShaderSourceFile |
( |
bool |
bIsHlsl, |
|
|
const std::string & |
sShaderPathRelativeFinal |
|
) |
| |
|
inlinestaticprivate |
Constructs a path to the shader source file.
- Parameters
-
bIsHlsl | true to construct a path to the HLSL file, false to GLSL. |
sShaderPathRelativeFinal | Path relative final shader directory to the shader without shader language extension, for example: specify "MeshNode.vert" when the real file is "MeshNode.vert.hlsl". |
- Returns
- Path to the shader source file.
The documentation for this class was generated from the following file: