Nameless Engine
Loading...
Searching...
No Matches
ne::EngineShaders Class Reference

#include <EngineShaders.hpp>

Classes

struct  ForwardPlus
 
struct  MeshNode
 
struct  PointLight
 

Static Private Member Functions

static std::filesystem::path constructPathToShaderSourceFile (bool bIsHlsl, const std::string &sShaderPathRelativeFinal)
 

Detailed Description

Stores engine shader descriptions.

Member Function Documentation

◆ constructPathToShaderSourceFile()

static std::filesystem::path ne::EngineShaders::constructPathToShaderSourceFile ( bool  bIsHlsl,
const std::string &  sShaderPathRelativeFinal 
)
inlinestaticprivate

Constructs a path to the shader source file.

Parameters
bIsHlsltrue to construct a path to the HLSL file, false to GLSL.
sShaderPathRelativeFinalPath 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: