Nebula
Loading...
Searching...
No Matches
particleloader.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
9//------------------------------------------------------------------------------
11#include "coregraphics/config.h"
12
13namespace Particles
14{
15
17
19{
21
22public:
24 virtual void Setup() override;
25
27 ResourceInitOutput InitializeResource(const ResourceLoadJob& job, const Ptr<IO::Stream>& stream) override;
28
29private:
30
32 void Unload(const Resources::ResourceId id) override;
33
34
35};
36
37} // namespace Particles
Definition particleloader.h:19
virtual void Setup() override
setup resource loader, initiates the placeholder and error resources if valid, so don't forget to run...
ResourceInitOutput InitializeResource(const ResourceLoadJob &job, const Ptr< IO::Stream > &stream) override
update reserved resource, the info struct is loader dependent (overload to implement resource dealloc...
Definition particleloader.cc:145
__DeclareClass(ParticleLoader)
void Unload(const Resources::ResourceId id) override
unload resource (overload to implement resource deallocation)
Definition particleloader.cc:226
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Definition resourceloader.h:60
Particle context controls playing and enabling/disabling of particle attrs inside a model.
Definition modelnode.h:37
CoreGraphics::MeshId DefaultEmitterMesh
Compile time configuration options for the CoreGraphics subsystem.
Definition mesh.h:29
Definition resourceloader.h:143
Definition resourceloader.h:167