Interface for shaders frontend. More...
#include <IShaderFrontend.hpp>
Inheritance diagram for cae::IShaderFrontend:
Collaboration diagram for cae::IShaderFrontend:Public Member Functions | |
| ~IShaderFrontend () override=default | |
| virtual ShaderSourceType | sourceType () const =0 |
| Get the source type this frontend handles. | |
| virtual ShaderIRModule | compile (const ShaderSourceDesc &desc)=0 |
| Compile shader source to intermediate representation. | |
Public Member Functions inherited from utl::IPlugin | |
| virtual | ~IPlugin ()=default |
| virtual std::string | getName () const =0 |
| Get the name of the plugin. | |
| virtual PluginType | getType () const =0 |
| Get the type of the plugin. | |
| virtual PluginPlatform | getPlatform () const =0 |
| Get the handled platform of the plugin. | |
Interface for shaders frontend.
Definition at line 80 of file IShaderFrontend.hpp.
|
overridedefault |
|
pure virtual |
Compile shader source to intermediate representation.
| desc | Shader source description |
Implemented in cae::GLSL.
|
pure virtual |
Get the source type this frontend handles.
Implemented in cae::GLSL.