Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::resource::SourceLine Struct Reference

A (file, line) pair identifying an original source location. More...

#include <ShaderParser.hpp>

Public Attributes

std::string file
u32 line = 0

Detailed Description

A (file, line) pair identifying an original source location.

Empty file denotes the primary shader source (the one passed directly to parse()); non-empty names an #included file.

Definition at line 54 of file ShaderParser.hpp.

Member Data Documentation

◆ file

std::string esengine::resource::SourceLine::file

Definition at line 55 of file ShaderParser.hpp.

◆ line

u32 esengine::resource::SourceLine::line = 0

Definition at line 56 of file ShaderParser.hpp.


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