Nebula
Loading...
Searching...
No Matches
animationloader.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
12//------------------------------------------------------------------------------
13#include "util/stringatom.h"
17#include "coregraphics/config.h"
18#include "ids/idallocator.h"
19
20namespace CoreAnimation
21{
22
24{
26
27private:
28 friend class AnimSampleBuffer;
29
31 Resources::ResourceUnknownId InitializeResource(const Ids::Id32 entry, const Util::StringAtom& tag, const Ptr<IO::Stream>& stream, bool immediate = false) override;
33 void Unload(const Resources::ResourceId id) override;
34};
35
36} // namespace CoreAnimation
37//------------------------------------------------------------------------------
Stores the result of an animation sampling operation, stores samples key values and sample-counts whi...
Definition animsamplebuffer.h:22
Definition animationloader.h:24
void Unload(const Resources::ResourceId id) override
unload resource
Definition animationloader.cc:145
Resources::ResourceUnknownId InitializeResource(const Ids::Id32 entry, const Util::StringAtom &tag, const Ptr< IO::Stream > &stream, bool immediate=false) override
perform actual load, override in subclass
Definition animationloader.cc:25
__DeclareClass(AnimationLoader)
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Definition resourceloader.h:58
A StringAtom.
Definition stringatom.h:22
An animation resource holds a set of animations from a loaded NAX file.
Definition charactercontext.h:40
uint32_t Id32
Definition id.h:138
Compile time configuration options for the CoreGraphics subsystem.
Definition resourceid.h:37