wren
Vulkan-based game engine
Loading...
Searching...
No Matches
inspector_panel.cpp File Reference
Include dependency graph for inspector_panel.cpp:

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)
 

Macro Definition Documentation

◆ CHECK_ID_IS_COMPONENT

#define CHECK_ID_IS_COMPONENT ( id,
component_type )    id == selected_entity->world().component<component_type>().id()