Information about a specific line in ShaderSource. More...
#include <ShaderSource.hpp>
Public Member Functions | |
LineInfo (void) | |
LineInfo constructor. | |
LineInfo (const std::string &_sourceName, int _lineNumber) | |
LineInfo constructor. More... | |
Public Attributes | |
int | lineNumber |
The number of the line (including the offset). | |
std::string | sourceName |
The name of the source (for example, the filename). | |
Information about a specific line in ShaderSource.
ShaderSource::LineInfo::LineInfo | ( | const std::string & | _sourceName, |
int | _lineNumber | ||
) |
LineInfo constructor.
_sourceName | The name of the source for the particular line. |
_lineNumber | The original line number in the given source. |