|
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
|
Translates HLSL shaders to the GLSL an OpenGL device runs, through Slang. More...
#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/ShaderCompiler.h>
Static Public Member Functions | |
| static bool | Compile (const ShaderCompileRequest &request, ShaderStageText &out, std::string &errors, std::string *warnings=nullptr) |
| Compiles one stage. | |
| static bool | IsAvailable (std::string *why=nullptr) |
| Whether Slang is here and loads. False with why when not. | |
Translates HLSL shaders to the GLSL an OpenGL device runs, through Slang.
|
static |
Compiles one stage.
False with errors (Slang's messages, each naming the file, line and column) when Slang rejects it, or when it uses something OpenGL ES 3.0 cannot run. What Slang warns about when it compiles goes to warnings.
|
static |
Whether Slang is here and loads. False with why when not.