class
DefaultShaderIncludeHandler
Inherits:
IShaderIncludeHandler
Implements shader include finding by converting the shader include name into a path that the resource will be loaded from.
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.