Unravel Engine C++ Reference
Loading...
Searching...
No Matches
inspector_light.h
Go to the documentation of this file.
1#pragma once
2#include "inspector.h"
3
6
7namespace unravel
8{
9
10struct inspector_light_component : public crtp_meta_type<inspector_light_component, inspector>
11{
12 auto inspect(rtti::context& ctx, entt::meta_any& var, const meta_any_proxy& var_proxy, const var_info& info, const entt::meta_custom& custom) -> inspect_result override;
13};
14
16
17} // namespace unravel
Class that contains core light data, used for rendering and other purposes.
#define REFLECT_INSPECTOR_INLINE(inspector_type, inspected_type)
Macro to register an inspector inline with its inspected type.
Definition inspector.h:310
Result of an inspection operation indicating what changes occurred.
Definition inspector.h:146
auto inspect(rtti::context &ctx, entt::meta_any &var, const meta_any_proxy &var_proxy, const var_info &info, const entt::meta_custom &custom) -> inspect_result override
Safe deferred property access proxy for arbitrary object properties.
Definition inspector.h:198
Metadata about a variable being inspected.
Definition inspector.h:133