ezEngine  Milestone 9
ezPropertyFlags Struct Reference

Flags used to describe a property and its type. More...

#include <AbstractProperty.h>

Classes

struct  Bits
 

Public Types

enum  Enum {
  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), Default = 0,
  Void = 0
}
 
typedef ezUInt16 StorageType
 

Public Member Functions

template<>
ezBitflags< ezPropertyFlagsGetParameterFlags ()
 

Static Public Member Functions

template<class Type >
static ezBitflags< ezPropertyFlagsGetParameterFlags ()
 

Detailed Description

Flags used to describe a property and its type.

Member Enumeration Documentation

◆ Enum

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.


The documentation for this struct was generated from the following file: