修改一些
This commit is contained in:
@@ -25,6 +25,8 @@ public:
|
||||
struct Composition_Relationships {
|
||||
virtual ~Composition_Relationships() = default;
|
||||
virtual void attach(Renderable_Id id) = 0;
|
||||
[[nodiscard]] virtual Scene_Edit_Error add_parent(
|
||||
Renderable_Id child, Renderable_Id parent) = 0;
|
||||
[[nodiscard]] virtual bool cleanup() = 0;
|
||||
[[nodiscard]] virtual bool valid() const = 0;
|
||||
virtual renderive::scene::dependency::Resolution<Renderable_Id> resolve() const = 0;
|
||||
@@ -175,6 +177,8 @@ struct Scene_2D_Base::Impl
|
||||
[[nodiscard]] Scene_Edit_Error clear_display_parent_locked(
|
||||
const Renderable& child);
|
||||
void attach(Renderable_Id id) override;
|
||||
[[nodiscard]] Scene_Edit_Error add_parent(
|
||||
Renderable_Id child, Renderable_Id parent) override;
|
||||
[[nodiscard]] bool cleanup() override;
|
||||
[[nodiscard]] bool valid() const override;
|
||||
[[nodiscard]] renderive::scene::dependency::Resolution<Renderable_Id> resolve() const override;
|
||||
|
||||
Reference in New Issue
Block a user