CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ShaderCompiler::SourceOrigin Struct Reference

Source code origin with filename and line offset. More...

#include <CeresEngine/Material/ShaderCompiler/AST/SourcePosition.hpp>

Public Attributes

String filename
 
Int32 lineOffset
 

Detailed Description

Source code origin with filename and line offset.

This is used to track the filename and correct source position line for each AST within a pre-processed source code. This is necessary because the pre-processsor eliminates all include directives.

Member Data Documentation

◆ filename

String CeresEngine::ShaderCompiler::SourceOrigin::filename

◆ lineOffset

Int32 CeresEngine::ShaderCompiler::SourceOrigin::lineOffset

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