Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Unity
UnityLandmarkTextureLoader.h
1
#pragma once
2
3
#include "ILandmarkTextureLoader.h"
4
#include "AsyncTexturing.h"
5
#include "Unity.h"
6
#include "Rendering.h"
7
8
#include <unordered_map>
9
#include <string>
10
#include <vector>
11
12
namespace
Eegeo
13
{
14
namespace
Unity
15
{
16
class
UnityAsyncTextureLoader;
17
18
class
UnityLandmarkTextureLoader
:
public
Resources::Buildings::ILandmarkTextureLoader
19
{
20
public
:
21
22
UnityLandmarkTextureLoader
(
23
Rendering::AsyncTexturing::IAsyncTextureRequestor
& textureRequestor,
24
UnityAsyncTextureLoader
& unityAsyncTextureObserver);
25
26
void
LoadLandmarkTextures(
27
Rendering::Renderables::CustomLandmarkRenderable
* landmarkRenderable,
28
const
Resources::CityThemes::CityThemeData
& themeData);
29
30
private
:
31
32
void
LoadLandmarkTexture(
33
Rendering::Renderables::CustomLandmarkRenderable
* landmarkRenderable,
34
const
std::string& materialName,
35
const
std::string& themeState,
36
const
std::string& assetPath);
37
38
std::unordered_map<std::string, std::vector<std::string>> m_inFlightAssetPathsToMaterials;
39
Rendering::AsyncTexturing::IAsyncTextureRequestor
& m_textureRequestor;
40
UnityAsyncTextureLoader
& m_unityAsyncTextureObserver;
41
};
42
}
43
}
44
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1