策略抽离

This commit is contained in:
2026-08-02 16:02:15 +08:00
parent dda25f9038
commit ffaca5b05f
55 changed files with 1431 additions and 886 deletions
+15
View File
@@ -0,0 +1,15 @@
#pragma once
#include "../architecture/global.h"
#include <memory>
namespace renderive {
class Plot_Core;
struct Plot_Render_Context;
struct LIB_DECL Plot_Core_Context_Access {
[[nodiscard]] static std::shared_ptr<Plot_Render_Context> render_context(Plot_Core& plot);
[[nodiscard]] static std::shared_ptr<Plot_Render_Context> render_context(const Plot_Core& plot);
};
} // namespace renderive