diff options
author | David Snopek <dsnopek@gmail.com> | 2022-12-20 15:49:11 -0600 |
---|---|---|
committer | David Snopek <dsnopek@gmail.com> | 2023-01-23 13:24:54 -0600 |
commit | 74458b6e9bed0f28db3374c7406eacbcf4b09b9d (patch) | |
tree | 9ce6e2833dbe29a75461f1cf3b171fc7e090bdcf /scene/resources/material.h | |
parent | 91713ced81792b10fdc9367b7f355738e5d52777 (diff) | |
download | redot-engine-74458b6e9bed0f28db3374c7406eacbcf4b09b9d.tar.gz |
Add "dedicated server" export mode which can strip unneeded visual resources
Diffstat (limited to 'scene/resources/material.h')
-rw-r--r-- | scene/resources/material.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/resources/material.h b/scene/resources/material.h index f1777d31f4..06c542dc61 100644 --- a/scene/resources/material.h +++ b/scene/resources/material.h @@ -74,6 +74,9 @@ public: virtual RID get_rid() const override; virtual RID get_shader_rid() const; virtual Shader::Mode get_shader_mode() const; + + virtual Ref<Resource> create_placeholder() const; + Material(); virtual ~Material(); }; |