Merge pull request #60583 from reduz/placeholder-assets
This commit is contained in:
commit
b239275989
15 changed files with 395 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue