Nebula
Loading...
Searching...
No Matches
skeletonresource.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
9//------------------------------------------------------------------------------
11#include "ids/idallocator.h"
12#include "util/fixedarray.h"
13#include "skeleton.h"
14namespace Characters
15{
16
18
21
24
25typedef Ids::IdAllocator<
29
30} // namespace SkeletonResource
An ID allocator associates an id with a slice in an N number of arrays.
Definition idallocator.h:39
Implements a fixed size one-dimensional array.
Definition fixedarray.h:20
A character encapsulates a skeleton resource, an animation resource, and the ability to instantiate s...
Definition charactercontext.cc:21
SkeletonResourceAllocator skeletonResourceAllocator
Definition skeletonresource.cc:9
Ids::IdAllocator< Util::FixedArray< SkeletonId > > SkeletonResourceAllocator
Definition skeletonresource.h:27
void DestroySkeletonResource(const SkeletonResourceId id)
Discard skeleton resource and the skeletons it holds.
Definition skeletonresource.cc:27
const SkeletonId SkeletonResourceGetSkeleton(const SkeletonResourceId id, IndexT index)
Fetch skeleton from loaded resource.
Definition skeletonresource.cc:17
#define RESOURCE_ID_TYPE(type)
Definition resourceid.h:41
Definition skeleton.h:17
Definition skeletonresource.h:17
int IndexT
Definition types.h:48