|
Berserk
|
Responsible to compile shaders in engine .shader.xml format. More...
#include <ShaderCompiler.hpp>
Classes | |
| struct | CompilationResult |
| Compilation result. More... | |
Public Member Functions | |
| BRK_API | ShaderCompiler ()=default |
| BRK_API | ~ShaderCompiler ()=default |
| BRK_API CompilationResult | Compile (const String &filepath, const Ref< ShaderCompileOptions > &options) |
| Compile shader with specified full path and options. More... | |
Responsible to compile shaders in engine .shader.xml format.
|
default |
|
default |
| BRK_NS_BEGIN ShaderCompiler::CompilationResult ShaderCompiler::Compile | ( | const String & | filepath, |
| const Ref< ShaderCompileOptions > & | options | ||
| ) |
Compile shader with specified full path and options.
.shader.xml format| filepath | Full file path to the shader file on disc |
| options | Options to compile with |