LLGL 0.05 Beta
Loading...
Searching...
No Matches
LLGL::IncludeHandler Class Referenceabstract

File include handler interface. More...

#include <IncludeHandler.h>

Inheritance diagram for LLGL::IncludeHandler:
LLGL::Interface LLGL::NonCopyable

Public Member Functions

virtual bool Include (const UTF8String &inFilename, Blob &outFileContent, Report &outReport)=0
 Includes a file from an input filename.
Public Member Functions inherited from LLGL::Interface
virtual bool IsInstanceOf (int id) const
 Returns true if this object is an instance of the specified interface.
Public Member Functions inherited from LLGL::NonCopyable
 NonCopyable (const NonCopyable &)=delete
NonCopyable & operator= (const NonCopyable &)=delete
virtual ~NonCopyable ()=default

Additional Inherited Members

Protected Member Functions inherited from LLGL::NonCopyable
 NonCopyable ()=default

Detailed Description

File include handler interface.

See also
ShaderDescriptor::includeHandler

Member Function Documentation

◆ Include()

virtual bool LLGL::IncludeHandler::Include ( const UTF8String & inFilename,
Blob & outFileContent,
Report & outReport )
pure virtual

Includes a file from an input filename.

Parameters
[in]inFilenameSpecifies the input filename.
[out]outFileContentSpecifies the output content blob. This can contain binary or text data.
[out]outReportSpecifies the report handler for potential error or miscellaneous reports.
Returns
True on success. Otherwise, including failed and outFileContent is unchanged.
See also
Blob::CreateFromFile

The documentation for this class was generated from the following file: