Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Unity
UnityAsyncCubeTextureLoad.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "IAsyncTextureLoad.h"
6
#include "Types.h"
7
#include "ICallback.h"
8
#include "AsyncTexturing.h"
9
#include "Unity.h"
10
#include <vector>
11
12
namespace
Eegeo
13
{
14
namespace
Unity
15
{
16
class
UnityAsyncCubeTextureLoad
:
public
Rendering::AsyncTexturing::IAsyncTextureLoad
17
{
18
UnityTextureFileLoader
& m_textureLoader;
19
const
Helpers::ICallback1<const Eegeo::Rendering::AsyncTexturing::AsyncTextureLoadResult>
& m_completionCallback;
20
std::vector<const std::vector<Byte>*> m_cubeBuffers;
21
void
* m_pUserData;
22
bool
m_cancelled;
23
bool
m_started;
24
25
UnityAsyncCubeTextureLoad
(
26
UnityTextureFileLoader
& textureLoader,
27
const
Helpers::ICallback1<const Rendering::AsyncTexturing::AsyncTextureLoadResult>
& completionCallback,
28
const
std::vector<
const
std::vector<Byte>*>& cubeFaceBuffers,
29
void
* pUserData);
30
31
~
UnityAsyncCubeTextureLoad
();
32
33
public
:
34
35
static
UnityAsyncCubeTextureLoad
& Build(
36
UnityTextureFileLoader
& textureLoader,
37
const
Helpers::ICallback1<const Rendering::AsyncTexturing::AsyncTextureLoadResult>
& completionCallback,
38
const
std::vector<
const
std::vector<Byte>*>& cubeFaceBuffers,
39
void
* pUserData);
40
41
virtual
void
Begin();
42
43
virtual
void
Cancel();
44
};
45
}
46
}
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1