Struct AttributeMeta#
Defined in File EntityMeta.h
Struct Documentation#
-
struct AttributeMeta#
Metadata of an attribute
Public Types
-
using Deleter = void (*)(void*)#
Public Functions
-
inline AttributeMeta(const AttrTag tag, const ByteCount32 typeSize, const Count32 elementCount, void *initialValue, const Deleter deleter)#
Public Members
-
ByteCount32 typeSize#
The size in byte of the type of the attribute value
-
std::shared_ptr<void> initialValue#
The initial value of this attribute, with type erased as a void pointer.
- Attention
It can be nullptr if initial value is not provided when creating this attribute
-
using Deleter = void (*)(void*)#