class
EngineShaderIncludeHandler
Inherits:
IShaderIncludeHandler
Shader include handler for the engine.
It loads includes relative to the application working directory and supports special $ENGINE$ folder for built-in includes.
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.
AddSearchPath
Registers a path in which to look for shader include files, along the default places.
DetermineFullPath
Converts a shader include name to a full path to the include file.
Private
Fields
mSearchPaths
Vector<Path> mSearchPaths