|
Deki 1.3.0
Modular C++ 2D engine for embedded displays and desktop
|
Classes | |
| struct | DekiFieldRef |
| Compact field descriptor — the ONE piece of reflection that exists on every platform, embedded included. More... | |
| struct | DekiPropertyInfo |
| Property metadata (stored per-component-type, not per-instance). More... | |
| struct | DekiComponentMeta |
| Component metadata for runtime reflection. More... | |
Macros | |
| #define | DEKI_EXPORT |
| #define | DEKI_EDITOR_ONLY |
| #define | DEKI_TOOLTIP(text) |
| #define | DEKI_TOGGLE_OBJECT(field) |
| #define | DEKI_VISIBLE_WHEN(prop, ...) |
| #define | DEKI_VISIBLE_WHEN_RANGE(prop, minVal, maxVal) |
| #define | DEKI_RANGE(minVal, maxVal) |
| #define | DEKI_SLIDER(minVal, maxVal) |
| #define | DEKI_GROUP(name) |
| #define | DEKI_OBJECT_NAME(...) |
| #define | DEKI_VALUE_OF(prop) |
| #define | DEKI_UNIT(unit) |
| #define | DEKI_RENAMED_FROM(oldName) |
| #define | DEKI_PROJECT_SETTINGS_SECTION(SectionName) |
| #define | DEKI_SERIALIZABLE |
| #define | DEKI_NO_SERIALIZE |
| #define | DEKI_SERIALIZABLE_NAME(name) |
| #define | DEKI_SERIALIZABLE_DEFAULT_VALUE(val) |
| #define | DEKI_REFLECTION_DECLARATIONS() |
| #define | DEKI_COMPONENT_BASE(BaseTypeName, Category) |
| #define | DEKI_COMPONENT(TypeName, BaseTypeName, Category, TypeGuid, FeatureDefine) |
| #define | DEKI_DISPLAY_NAME(name) |
| #define | DEKI_DESCRIPTION(text) |
| #define | DEKI_NODE_REFLECTION_DECLARATIONS() |
| #define | DEKI_NODE(TypeName, NodeName, Category) |
| #define | DEKI_NODE_INPUTS(...) |
| #define | DEKI_NODE_OUTPUTS(...) |
| #define | DEKI_NODE_DYNAMIC_OUTPUTS(PropName) |
| #define | DEKI_NODE_CHILDREN(Category) |
| #define | DEKI_NODE_SUBGRAPH(ContentCategory, EntryTypeName) |
| #define | DEKI_NODE_TITLE_PROPERTY(PropName) |
| #define | DEKI_NODE_PERMANENT() |
| #define | DEKI_NODE_VARIABLES() |
Enumerations | |
| enum class | DekiPhysicalUnit : uint8_t { None = 0 , Distance , Velocity , Acceleration , Angle } |
| Physical unit for float/DekiVector2 properties. More... | |
| enum class | DekiPropertyType : uint8_t { Int8 , Int16 , Int32 , Int64 , UInt8 , UInt16 , UInt32 , UInt64 , Float , Double , Bool , String , Color , Vector2 , Vector3 , Asset , Enum , ObjectRef , Array , AssetRef , NodeRef , PropertyRef } |
| Property types for runtime reflection. More... | |
Functions | |
| template<typename T> | |
| T & | GetPropertyRef (DekiComponent *comp, const DekiPropertyInfo &prop) |
| template<typename T> | |
| const T & | GetPropertyRef (const DekiComponent *comp, const DekiPropertyInfo &prop) |
| template<typename T> | |
| T | GetPropertyValue (const DekiComponent *comp, const DekiPropertyInfo &prop) |
| template<typename T> | |
| void | SetPropertyValue (DekiComponent *comp, const DekiPropertyInfo &prop, const T &value) |
| template<typename T> | |
| T & | GetNodePropertyRef (void *base, const DekiPropertyInfo &prop) |
| template<typename T> | |
| const T & | GetNodePropertyRef (const void *base, const DekiPropertyInfo &prop) |
| #define DEKI_EXPORT |
| #define DEKI_EDITOR_ONLY |
| #define DEKI_TOOLTIP | ( | text | ) |
| #define DEKI_TOGGLE_OBJECT | ( | field | ) |
| #define DEKI_VISIBLE_WHEN | ( | prop, | |
| ... ) |
| #define DEKI_VISIBLE_WHEN_RANGE | ( | prop, | |
| minVal, | |||
| maxVal ) |
| #define DEKI_RANGE | ( | minVal, | |
| maxVal ) |
| #define DEKI_SLIDER | ( | minVal, | |
| maxVal ) |
| #define DEKI_GROUP | ( | name | ) |
| #define DEKI_OBJECT_NAME | ( | ... | ) |
| #define DEKI_VALUE_OF | ( | prop | ) |
| #define DEKI_UNIT | ( | unit | ) |
| #define DEKI_RENAMED_FROM | ( | oldName | ) |
| #define DEKI_PROJECT_SETTINGS_SECTION | ( | SectionName | ) |
| #define DEKI_SERIALIZABLE |
| #define DEKI_NO_SERIALIZE |
| #define DEKI_SERIALIZABLE_NAME | ( | name | ) |
| #define DEKI_SERIALIZABLE_DEFAULT_VALUE | ( | val | ) |
| #define DEKI_REFLECTION_DECLARATIONS | ( | ) |
| #define DEKI_COMPONENT_BASE | ( | BaseTypeName, | |
| Category ) |
| #define DEKI_COMPONENT | ( | TypeName, | |
| BaseTypeName, | |||
| Category, | |||
| TypeGuid, | |||
| FeatureDefine ) |
| #define DEKI_DISPLAY_NAME | ( | name | ) |
| #define DEKI_DESCRIPTION | ( | text | ) |
| #define DEKI_NODE_REFLECTION_DECLARATIONS | ( | ) |
| #define DEKI_NODE | ( | TypeName, | |
| NodeName, | |||
| Category ) |
| #define DEKI_NODE_INPUTS | ( | ... | ) |
| #define DEKI_NODE_OUTPUTS | ( | ... | ) |
| #define DEKI_NODE_DYNAMIC_OUTPUTS | ( | PropName | ) |
| #define DEKI_NODE_CHILDREN | ( | Category | ) |
| #define DEKI_NODE_SUBGRAPH | ( | ContentCategory, | |
| EntryTypeName ) |
| #define DEKI_NODE_TITLE_PROPERTY | ( | PropName | ) |
| #define DEKI_NODE_PERMANENT | ( | ) |
| #define DEKI_NODE_VARIABLES | ( | ) |
|
strong |
Physical unit for float/DekiVector2 properties.
Internal storage is always meters. Inspector applies a display conversion based on the project's inspectorUnit setting:
Only meaningful on Float and DekiVector2 property types.
| Enumerator | |
|---|---|
| None | |
| Distance | |
| Velocity | |
| Acceleration | |
| Angle | |
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |