|
Berserk
|
Handles source code pre-processing of shaders with this archetype. More...
#include <ShaderArchetype.hpp>

Classes | |
| struct | InputData |
| Processing input data. More... | |
| struct | OutputData |
| Processing output data. More... | |
Public Member Functions | |
| virtual BRK_API | ~ShaderArchetype ()=default |
| virtual BRK_API const StringName & | GetArchetype () const =0 |
| virtual BRK_API const std::vector< RHIShaderLanguage > & | GetSupportedLanguages () const =0 |
| virtual BRK_API bool | IsSupportedLanguage (RHIShaderLanguage language) const |
| virtual BRK_API void | DefineOptions (std::vector< ShaderOption > &options) const =0 |
| virtual BRK_API void | DefineVariation (const ShaderCompileOptions &options, ShaderVariation &variation)=0 |
| virtual BRK_API void | DefineFormat (const ShaderCompileOptions &options, MeshFormat &format)=0 |
| virtual BRK_API void | Process (const InputData &inputData, OutputData &outputData)=0 |
Static Public Attributes | |
| static constexpr const char *const | SHADER_PARAMS_BLOCK = BRK_TEXT("ShaderParams") |
Handles source code pre-processing of shaders with this archetype.
|
virtualdefault |
|
pure virtual |
Implemented in ShaderArchetypeBase.
|
pure virtual |
Implemented in ShaderArchetypeBase.
|
pure virtual |
Implemented in ShaderArchetypeBase.
|
pure virtual |
Implemented in ShaderArchetypeBase.
|
pure virtual |
Implemented in ShaderArchetypeBase.
|
virtual |
|
pure virtual |
Implemented in ShaderArchetypeBase.
|
staticconstexpr |
Name of params block generated from material params