![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <EditorComponent.h>
Public Member Functions | |
template<typename T > | |
T * | getPtr () const |
template<typename T > | |
T | get () const |
template<typename T > | |
void | get (T &dataOut) const |
template<typename T > | |
void | set (const T &dataIn) |
const char * | getDisplayName (const U8 index) const |
bool | supportsByteCount () const noexcept |
bool | isMatrix () const noexcept |
Public Attributes | |
DELEGATE_STD< void, void * > | _dataGetter = {} |
DELEGATE_STD< void, const void * > | _dataSetter = {} |
DELEGATE_STD< const char *, U8 > | _displayNameGetter = {} |
Str< 128 > | _tooltip = "" |
void * | _data = nullptr |
vec2< F32 > | _range = { 0.0f, 0.0f } |
Used by slider_type as a min / max range or dropdown as selected_index / count. | |
Str< 32 > | _name = "" |
F32 | _step = 0.0f |
0.0f == no +- buttons | |
F32 | _resetValue = 0.f |
const char * | _format = "" |
const char *const * | _labels = nullptr |
PushConstantType | _basicType = PushConstantType::COUNT |
EditorComponentFieldType | _type = EditorComponentFieldType::COUNT |
PushConstantSize | _basicTypeSize = PushConstantSize::DWORD |
bool | _readOnly = false |
bool | _serialise = true |
bool | _hexadecimal = false |
Definition at line 119 of file EditorComponent.h.
T Divide::EditorComponentField::get |
Definition at line 50 of file EditorComponent.inl.
void Divide::EditorComponentField::get | ( | T & | dataOut | ) | const |
Definition at line 63 of file EditorComponent.inl.
|
inline |
Definition at line 97 of file EditorComponent.inl.
T * Divide::EditorComponentField::getPtr |
Definition at line 38 of file EditorComponent.inl.
|
inlinenoexcept |
Definition at line 124 of file EditorComponent.inl.
void Divide::EditorComponentField::set | ( | const T & | dataIn | ) |
Definition at line 76 of file EditorComponent.inl.
|
inlinenoexcept |
Definition at line 106 of file EditorComponent.inl.
PushConstantType Divide::EditorComponentField::_basicType = PushConstantType::COUNT |
Definition at line 133 of file EditorComponent.h.
PushConstantSize Divide::EditorComponentField::_basicTypeSize = PushConstantSize::DWORD |
Definition at line 140 of file EditorComponent.h.
void* Divide::EditorComponentField::_data = nullptr |
Definition at line 126 of file EditorComponent.h.
DELEGATE_STD<void, void*> Divide::EditorComponentField::_dataGetter = {} |
Definition at line 121 of file EditorComponent.h.
DELEGATE_STD<void, const void*> Divide::EditorComponentField::_dataSetter = {} |
Definition at line 122 of file EditorComponent.h.
DELEGATE_STD<const char*, U8> Divide::EditorComponentField::_displayNameGetter = {} |
Definition at line 123 of file EditorComponent.h.
const char* Divide::EditorComponentField::_format = "" |
Definition at line 131 of file EditorComponent.h.
bool Divide::EditorComponentField::_hexadecimal = false |
Definition at line 144 of file EditorComponent.h.
const char* const* Divide::EditorComponentField::_labels = nullptr |
Definition at line 132 of file EditorComponent.h.
Str<32> Divide::EditorComponentField::_name = "" |
Definition at line 128 of file EditorComponent.h.
Used by slider_type as a min / max range or dropdown as selected_index / count.
Definition at line 127 of file EditorComponent.h.
bool Divide::EditorComponentField::_readOnly = false |
Definition at line 142 of file EditorComponent.h.
F32 Divide::EditorComponentField::_resetValue = 0.f |
Definition at line 130 of file EditorComponent.h.
bool Divide::EditorComponentField::_serialise = true |
Definition at line 143 of file EditorComponent.h.
F32 Divide::EditorComponentField::_step = 0.0f |
0.0f == no +- buttons
Definition at line 129 of file EditorComponent.h.
Str<128> Divide::EditorComponentField::_tooltip = "" |
Definition at line 125 of file EditorComponent.h.
EditorComponentFieldType Divide::EditorComponentField::_type = EditorComponentFieldType::COUNT |
Definition at line 134 of file EditorComponent.h.