wren
Vulkan-based game engine
|
#include "inspector_panel.hpp"
Namespaces | |
namespace | editor |
Macros | |
#define | CHECK_ID_IS_COMPONENT(id, component_type) id == selected_entity->world().component<component_type>().id() |
Functions | |
void | editor::draw_component (const editor::Context &ctx, wren::scene::components::MeshRenderer &mesh_renderer) |
void | editor::draw_component (wren::scene::components::Transform &transform) |
void | editor::draw_component (const std::string_view &tag, wren::math::Vec3f &vec) |
void | editor::render_inspector_panel (const editor::Context &ctx, const std::shared_ptr< wren::scene::Scene > &scene, const std::optional< flecs::entity > &selected_entity) |
#define CHECK_ID_IS_COMPONENT | ( | id, | |
component_type ) id == selected_entity->world().component<component_type>().id() |