Oxygine
1
2g game engine
oxygine
src
res
ResStarlingAtlas.h
1
#pragma once
2
#include "oxygine-include.h"
3
#include "Resource.h"
4
namespace
oxygine
5
{
6
class
ResStarlingAtlas
:
public
Resource
7
{
8
INHERITED(
Resource
);
9
public
:
10
static
Resource
* create(
CreateResourceContext
& context);
11
12
ResStarlingAtlas
();
13
~
ResStarlingAtlas
();
14
15
void
init(
Resources
*, pugi::xml_node& node);
16
17
18
void
mtload();
19
20
private
:
21
void
loadAtlas(
CreateResourceContext
& context);
22
void
_load(
LoadResourcesContext
*)
override
;
23
void
_unload()
override
;
24
void
_restore(
Restorable
* r,
void
*);
25
26
spNativeTexture _texture;
27
std::string _imagePath;
28
};
29
}
oxygine::LoadResourcesContext
Definition:
CreateResourceContext.h:94
oxygine
–oxgl-end–!
Definition:
Actor.h:14
oxygine::ResStarlingAtlas
Definition:
ResStarlingAtlas.h:6
oxygine::Resource
Definition:
Resource.h:10
oxygine::CreateResourceContext
Definition:
CreateResourceContext.h:60
oxygine::Restorable
Definition:
Restorable.h:8
oxygine::Resources
Definition:
Resources.h:43
Generated on Tue Feb 13 2018 05:01:17 for Oxygine by
1.8.14