Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
animationloader.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
12
//------------------------------------------------------------------------------
13
#include "
util/stringatom.h
"
14
#include "
resources/resourceloader.h
"
15
#include "
coreanimation/animclip.h
"
16
#include "
coreanimation/animkeybuffer.h
"
17
#include "
coregraphics/config.h
"
18
#include "
ids/idallocator.h
"
19
20
namespace
CoreAnimation
21
{
22
23
class
AnimationLoader
:
public
Resources::ResourceLoader
24
{
25
__DeclareClass
(
AnimationLoader
);
26
28
AnimationLoader
();
29
30
private
:
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
//------------------------------------------------------------------------------
animclip.h
animkeybuffer.h
CoreAnimation::AnimationLoader::AnimSampleBuffer
friend class AnimSampleBuffer
Definition
animationloader.h:31
CoreAnimation::AnimationLoader::AnimationLoader
AnimationLoader()
Constructor.
Definition
animationloader.cc:24
CoreAnimation::AnimationLoader::Unload
void Unload(const Resources::ResourceId id) override
unload resource
Definition
animationloader.cc:154
CoreAnimation::AnimationLoader::InitializeResource
ResourceLoader::ResourceInitOutput InitializeResource(const ResourceLoadJob &job, const Ptr< IO::Stream > &stream) override
perform actual load, override in subclass
Definition
animationloader.cc:33
CoreAnimation::AnimationLoader::__DeclareClass
__DeclareClass(AnimationLoader)
Ptr
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition
ptr.h:38
Resources::ResourceLoader
Definition
resourceloader.h:62
idallocator.h
CoreAnimation
An animation resource holds a set of animations from a loaded NAX file.
Definition
charactercontext.h:40
config.h
Compile time configuration options for the CoreGraphics subsystem.
resourceloader.h
stringatom.h
Resources::ResourceLoader::ResourceLoadJob
Definition
resourceloader.h:181
code
render
coreanimation
animationloader.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.