![]() |
XII Release 0.1.0
|
Copyright (c) Theophilus Eriata. All Rights Reserved. More...
#include <InstanceDataAllocator.h>
Public Member Functions | |
| template<typename T> | |
| XII_ALWAYS_INLINE void | FillFromType () |
Copyright (c) Theophilus Eriata. All Rights Reserved.
Structure to describe an instance data type.
Many resources, such as VMs, state machines and visual scripts of various types have shared state (their configuration) as well as per-instance state (for their execution).
This structure describes the type of instance data used by a such a resource (or a node inside it). Instance data is allocated through the xiiInstanceDataAllocator.
Use the templated Fill() method to fill the desc from a data type.