Here is the regex I used for the renaming
#pragma BLENDER_REQUIRE\(([a-zA-Z0-9_\-\.]+)\)
#include "$1"
I think it will be better to discuss around a working prototype as there is clearly some misunderstanding 😄.
Namespaces in GLSL?
The namespace are only for the C++ linting.
All the…
Depends on the linter I guess. MSVC created errors. The others warnings. So better be on the safe side.
Includes don't work for files that are not part of the CMake project unless they are relative.
This is why I added all the needed folders to the Cmake file. This also helps to know what you…
This would remove the defines from the C++ CreateInfo declaration, right?
I am not sure I understand this. If you mean it will replace the need for this kind of declaration: `readonly…
It passes compilation on Clang and MSVC. GCC doesn't like the swizzle recursive classes. Yet, I think it is good enough for a first commit.
If someone wants to look at it, here is the godbolt…