Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Unity
UnityAsyncTextureObserver.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Unity.h"
6
#include "IAsyncTextureObserver.h"
7
#include "Rendering.h"
8
9
#include <string>
10
11
namespace
Eegeo
12
{
13
namespace
Unity
14
{
15
class
UnityAsyncTextureObserver
:
public
Rendering::AsyncTexturing::IAsyncTextureObserver
16
{
17
public
:
18
UnityAsyncTextureObserver
(
const
std::string& materialName,
UnityTextureFileLoader
& textureLoader);
19
20
virtual
void
OnTextureLoadSuccess(
const
Rendering::AsyncTexturing::IAsyncTexture
& loadedTexture)
override
;
21
22
virtual
void
OnTextureLoadFail(
const
Rendering::AsyncTexturing::IAsyncTexture
& loadedTexture)
override
;
23
24
private
:
25
const
std::string m_materialName;
26
UnityTextureFileLoader
& m_textureLoader;
27
};
28
}
29
}
30
31
32
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1