Files
Blitz2/include/client/states/StateData.h
2024-08-03 15:03:38 +02:00

35 lines
668 B
C++

#pragma once
#include <Nazara/Core/EnttWorld.hpp>
#include <Nazara/Platform/Window.hpp>
#include <Nazara/Renderer/WindowSwapchain.hpp>
#include <Nazara/Widgets/Canvas.hpp>
#include <entt/fwd.hpp>
#include <memory>
#include <optional>
namespace Nz {
class ApplicationBase;
class RenderTarget;
} // namespace Nz
namespace blitz {
namespace client {
class ClientApp;
struct StateData {
std::optional<Nz::Canvas> m_Canvas;
std::shared_ptr<Nz::RenderTarget> m_RenderTarget;
ClientApp* m_AppComponent;
Nz::ApplicationBase* m_App;
Nz::EnttWorld* m_World;
Nz::Window* m_Window;
Nz::WindowSwapchain* m_Swapchain;
};
} // namespace client
} // namespace blitz