![]() |
ezEngine
Release 25.03
|
Flags used to describe a property and its type. More...
#include <AbstractProperty.h>
Classes | |
struct | Bits |
Public Types | |
enum | Enum : ezUInt16 { StandardType = EZ_BIT(0), IsEnum = EZ_BIT(1), Bitflags = EZ_BIT(2), Class = EZ_BIT(3), Const = EZ_BIT(4), Reference = EZ_BIT(5), Pointer = EZ_BIT(6), PointerOwner = EZ_BIT(7), ReadOnly = EZ_BIT(8), Hidden = EZ_BIT(9), Phantom = EZ_BIT(10), VarOut = EZ_BIT(11), VarInOut = EZ_BIT(12), Default = 0, Void = 0 } |
using | StorageType = ezUInt16 |
Static Public Member Functions | |
template<class Type > | |
static ezBitflags< ezPropertyFlags > | GetParameterFlags () |
template<> | |
ezBitflags< ezPropertyFlags > | GetParameterFlags () |
Flags used to describe a property and its type.
enum ezPropertyFlags::Enum : ezUInt16 |
Enumerator | |
---|---|
StandardType | Anything that can be stored inside an ezVariant except for pointers and containers. |
IsEnum | enum property, cast to ezAbstractEnumerationProperty. |
Bitflags | Bitflags property, cast to ezAbstractEnumerationProperty. |
Class | A struct or class. All of the above are mutually exclusive. |
Const | Property value is const. |
Reference | Property value is a reference. |
Pointer | Property value is a pointer. |
PointerOwner | This pointer property takes ownership of the passed pointer. |
ReadOnly | Can only be read but not modified. |
Hidden | This property should not appear in the UI. |
Phantom | Phantom types are mirrored types on the editor side. Ie. they do not exist as actual classes in the process. Also used for data driven types, e.g. by the Visual Shader asset. |
VarOut | Tag for non-const-ref function parameters to indicate usage 'out'. |
VarInOut | Tag for non-const-ref function parameters to indicate usage 'inout'. |