Nebula
Loading...
Searching...
No Matches
animationresource.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 "animation.h"
14namespace CoreAnimation
15{
16
18
21
24
25typedef Ids::IdAllocator<
29
30} // namespace CoreAnimation
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
An animation resource holds a set of animations from a loaded NAX file.
Definition charactercontext.h:40
void DestroyAnimationResource(const AnimationResourceId id)
Destroy animation resource.
Definition animationresource.cc:24
Ids::IdAllocator< Util::FixedArray< AnimationId > > AnimationResourceAllocator
Definition animationresource.h:27
const AnimationId AnimationResourceGetAnimation(const AnimationResourceId id, IndexT index)
Get animation from resource.
Definition animationresource.cc:15
AnimationResourceAllocator animationResourceAllocator
Definition animationresource.cc:9
#define RESOURCE_ID_TYPE(type)
Definition resourceid.h:41
Definition animation.h:25
Definition animationresource.h:17
int IndexT
Definition types.h:48