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