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
27
private
:
28
friend
class
AnimSampleBuffer
;
29
31
ResourceLoader::ResourceInitOutput
InitializeResource
(
const
ResourceLoadJob
& job,
const
Ptr<IO::Stream>
& stream)
override
;
33
void
Unload
(
const
Resources::ResourceId
id
)
override
;
34
};
35
36
}
// namespace CoreAnimation
37
//------------------------------------------------------------------------------
animclip.h
animkeybuffer.h
CoreAnimation::AnimationLoader
Definition
animationloader.h:24
CoreAnimation::AnimationLoader::AnimSampleBuffer
friend class AnimSampleBuffer
Definition
animationloader.h:28
CoreAnimation::AnimationLoader::Unload
void Unload(const Resources::ResourceId id) override
unload resource
Definition
animationloader.cc:146
CoreAnimation::AnimationLoader::InitializeResource
ResourceLoader::ResourceInitOutput InitializeResource(const ResourceLoadJob &job, const Ptr< IO::Stream > &stream) override
perform actual load, override in subclass
Definition
animationloader.cc:25
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:60
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:167
code
render
coreanimation
animationloader.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.