Struct AttributeMeta#

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)#
inline AttributeMeta(const AttrTag tag, const ByteCount32 typeSize, const Count32 elementCount, std::shared_ptr<void> initialValue)#

Public Members

AttrTag tag#

The unique tag assigned to this attribute

ByteCount32 typeSize#

The size in byte of the type of the attribute value

Count32 elementCount#

The number of element 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