![]() |
Plasma Engine
2.0
|
Structure to describe an instance data type. More...
#include <InstanceDataAllocator.h>
Public Member Functions | |
template<typename T > | |
PL_ALWAYS_INLINE void | FillFromType () |
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 plInstanceDataAllocator.
Use the templated Fill() method to fill the desc from a data type.