策略抽离
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user