36 using SceneObjects_t =
37 ::alicorn::extension::std::fast::unordered_map<uint64_t, ::std::vector<Id_t>>;
38 using CellObject_t = SceneObjects_t::value_type;
39 using Callback_t = ::std::function<void(
const Id_t)>;
40 using RenderObject_t = ::std::pair<float, Id_t>;
52 float m_CameraOffsetX;
53 float m_CameraOffsetY;
57 explicit Camera(
const float = 0.0f,
const float = 0.0f,
const float = 0.0f);
65 SceneObjects_t Objects;
69 void SetCameraInfo(
const Camera &);
70 void Render(
const Callback_t &);
71 void ProcessAll(
const Callback_t &);
74 void Add(
const size_t, const ::std::vector<Id_t> &);
77 void CompleteReplace(
void);
78 void CompleteUpdate(
void);
81 void BuildRenderObjects(
void);
82 void Add(
const size_t, const ::std::vector<Id_t> &,
const uint64_t);
85 ::std::vector<Scene> m_Scenes;
86 ::std::vector<Scene> m_BkScenes;
88 ::std::vector<RenderObject_t> m_PrepareRenderObjects;
89 ::std::vector<RenderObject_t> m_CompleteRenderObjects;
90 bool m_IsUpdateRenderObjects =
false;