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
29
30private:
31 friend class AnimSampleBuffer;
32
34 ResourceLoader::ResourceInitOutput InitializeResource(const ResourceLoadJob& job, const Ptr<IO::Stream>& stream) override;
36 void Unload(const Resources::ResourceId id) override;
37};
38
39} // namespace CoreAnimation
40//------------------------------------------------------------------------------
friend class AnimSampleBuffer
Definition animationloader.h:31
AnimationLoader()
Constructor.
Definition animationloader.cc:24
void Unload(const Resources::ResourceId id) override
unload resource
Definition animationloader.cc:154
ResourceLoader::ResourceInitOutput InitializeResource(const ResourceLoadJob &job, const Ptr< IO::Stream > &stream) override
perform actual load, override in subclass
Definition animationloader.cc:33
__DeclareClass(AnimationLoader)
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Definition resourceloader.h:62
An animation resource holds a set of animations from a loaded NAX file.
Definition charactercontext.h:40
Compile time configuration options for the CoreGraphics subsystem.
Definition resourceloader.h:181