Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Rendering
AsyncTexturing
AsyncTextureLoadResult.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "GLHelpers.h"
6
#include "AsyncTexturing.h"
7
8
namespace
Eegeo
9
{
10
namespace
Rendering
11
{
12
namespace
AsyncTexturing
13
{
14
class
AsyncTextureLoadResult
15
{
16
bool
m_success;
17
void
* m_userData;
18
IAsyncTextureLoad
& m_load;
19
Helpers::GLHelpers::TextureInfo
m_textureInfo;
20
21
AsyncTextureLoadResult
(
const
Helpers::GLHelpers::TextureInfo
& info,
bool
success,
void
* userData,
IAsyncTextureLoad
& load);
22
23
public
:
24
static
AsyncTextureLoadResult
Success(
const
Helpers::GLHelpers::TextureInfo
& info,
void
* userData,
IAsyncTextureLoad
& load);
25
static
AsyncTextureLoadResult
Fail(
void
* userData,
IAsyncTextureLoad
& load);
26
27
bool
IsSuccess()
const
;
28
void
* GetUserData()
const
;
29
IAsyncTextureLoad
& GetLoad()
const
;
30
Helpers::GLHelpers::TextureInfo
TextureInfo()
const
;
31
};
32
}
33
}
34
}
Generated on Sat Jun 10 2023 02:00:31 for eeGeo Platform SDK by
1.8.3.1