Is there a reason why the MaterialDef class does not extends from AssetKey?
I understand that material definitions are actually loaded by materials themselves but is it actually possible to load a material definition from a piece code?
The reason I’m asking this is because I’m making a meta-asset project that generates code for all assets, including their asset keys.
EDIT : Whilst searching for .vert and .frag asset keys, I found out that the class ShaderNodeDefinition, which extends AssetKey, is for material definitions. Am I correct? It’s quite ambiguous if I should use the ShaderNodeDefinition or MaterialDef class.
I am quite confused myself by all the asset types, so sorry if say something wrong.