Merge pull request #60583 from reduz/placeholder-assets

This commit is contained in:
Rémi Verschelde 2022-05-03 16:43:13 +02:00 committed by GitHub
commit b239275989
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 395 additions and 0 deletions

View file

@ -797,6 +797,13 @@ public:
BaseMaterial3D(true) {}
};
class PlaceholderMaterial : public Material {
GDCLASS(PlaceholderMaterial, Material)
public:
virtual RID get_shader_rid() const override { return RID(); }
virtual Shader::Mode get_shader_mode() const override { return Shader::MODE_CANVAS_ITEM; }
};
//////////////////////
#endif