|
CeresEngine 0.2.0
A game development framework
|
Interface for handling new include streams. More...
#include <CeresEngine/Material/ShaderCompiler/IncludeHandler.hpp>
Public Member Functions | |
| IncludeHandler () | |
| virtual | ~IncludeHandler () |
| virtual UPtr< std::istream > | include (const String &includeName, bool useSearchPathsFirst) |
| Returns an input stream for the specified filename. | |
| Vector< String > & | getSearchPaths () |
| Returns the list of search paths. | |
| const Vector< String > & | getSearchPaths () const |
| Returns the constant list of search paths. | |
Private Attributes | |
| OpaqueData * | mData = nullptr |
Interface for handling new include streams.
| CeresEngine::ShaderCompiler::IncludeHandler::IncludeHandler | ( | ) |
|
virtual |
Returns the list of search paths.
Returns the constant list of search paths.
|
virtual |
Returns an input stream for the specified filename.
| [in] | includeName | Specifies the include filename. |
| [in] | useSearchPathsFirst | Specifies whether to first use the search paths to find the file. |
|
private |