Closed liplum closed 2 years ago
To generate shader class isn't a wise choice, because, most of the time, the file and its name are not absolutely related to a shader field.
Bundle are always mixed with domain and kebab name rules. Also, it likely contains mod's name and ContentType. Thus, to generate them but not bother with a lot of name issues seems impossible currently. Anyways, at least users can program their own resource generator to deal with such complicated circumstances.
In my opinion, I'd rather to provide more customizable generator for users than official support.
Shader
It only needs the field without
void load( )
method. Because users may have their own way to initialize those shaders.Bundle
To generate each i18n pair in bundles.