class
EditorShaderIncludeHandler
Inherits:
IShaderIncludeHandler
Shader include handler for the editor.
It uses project library to find the includes, and supports special keywords for built-in includes that reside outside of the project library.
Public
Methods
FindInclude
HShaderInclude FindInclude(const String &name) const override
Attempts to find a shader include resource based on its name.
FindIncludeSource
TOptional<String> FindIncludeSource(const String &name) const override
Attempts to find a shader include based on the include name and returns the include source code if found.
staticDetermineFullPath
Converts a shader include name to a full path to the include file.