Cleanup some things in shader editor code

This commit is contained in:
Aaron Franke
2025-08-26 16:25:31 -07:00
parent ab6c6eece8
commit e26e96df4b
5 changed files with 56 additions and 33 deletions

View File

@ -41,6 +41,7 @@ class Shader : public Resource {
OBJ_SAVE_TYPE(Shader);
public:
// Must be kept in sync with the List<String> of shader types in `servers/rendering/shader_types.cpp`.
enum Mode {
MODE_SPATIAL,
MODE_CANVAS_ITEM,