25 static auto create(
const std::shared_ptr<wren::Application> &app,
26 const std::filesystem::path &project_path)
29 Editor(
const std::shared_ptr<wren::Context> &ctx);
36 auto build_render_graph(
const std::shared_ptr<wren::Context> &ctx)
46 std::optional<flecs::entity> selected_entity_;
49 std::shared_ptr<wren::scene::Scene> scene_;
51 std::shared_ptr<wren::Context> wren_ctx_;
53 std::shared_ptr<wren::vk::Shader> mesh_shader_;
54 std::shared_ptr<wren::vk::Shader> viewer_shader_;
57 std::vector<VkDescriptorSet> dset_{};
58 vk::Sampler texture_sampler_;
60 std::optional<wren::math::vec2i> scene_resized_;
Definition context.hpp:13