summaryrefslogtreecommitdiffstats
path: root/scene/resources/material.h
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2022-12-20 15:49:11 -0600
committerDavid Snopek <dsnopek@gmail.com>2023-01-23 13:24:54 -0600
commit74458b6e9bed0f28db3374c7406eacbcf4b09b9d (patch)
tree9ce6e2833dbe29a75461f1cf3b171fc7e090bdcf /scene/resources/material.h
parent91713ced81792b10fdc9367b7f355738e5d52777 (diff)
downloadredot-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.h3
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();
};