16 void AddVertexArray(std::shared_ptr<VertexArray> vertexArray);
17 void AddCamera(std::shared_ptr<Camera> camera);
19 void SetClearColor(
const glm::vec4& clearColor) { m_ClearColor = clearColor; }
20 void SetRenderWindow(
void* window) { m_WindowToRenderWithin = window; };
22 void SetWindowToRenderWithinResize(
bool bStatus) { m_WindowResize = bStatus; }
25 std::shared_ptr<VertexArray> GetRenderableVertexArray()
const;
26 std::shared_ptr<Camera> GetSceneCamera()
const;
28 const glm::vec4& GetClearColor()
const {
return m_ClearColor; }
30 const std::vector<std::shared_ptr<VertexArray>>& GetAllVertexArrays()
const {
return m_VertexArrays; }
31 const std::vector<std::shared_ptr<Camera>>& GetAllCameras()
const {
return m_Cameras; }
33 inline void* GetRenderingWindow()
const {
return m_WindowToRenderWithin; }
34 inline bool GetWindowToRenderWithinResizeStatus()
const {
return m_WindowResize; }
37 std::vector<std::shared_ptr<VertexArray>> m_VertexArrays;
38 std::vector<std::shared_ptr<Camera>> m_Cameras;
40 glm::vec4 m_ClearColor;
43 void* m_WindowToRenderWithin;