Merge pull request #109999 from aaronfranke/shader-cleanup

Clean up some things in shader editor code
This commit is contained in:
Thaddeus Crews 2025-10-27 10:01:42 -05:00
commit 33df7125ec
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
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,