* Move resolving #includes from MaterialBuilder to MaterialCompiler, before parsing the material. - resolving #includes was happening after parsing, now moving before parsing. this is because we could offload this resolution at build time for RuntimeMaterialCompiler - filamat::resolveIncludes used to have an assumption where the given text was already a shader block. this assumption is now broken so it finds the line offset internally. thus the line offset field is removed from IncludeResult. * Move include related classes to matc
16 KiB
16 KiB