Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Resources
Terrain
Raster
RasterTerrainTextureLoader.h
1
// Copyright eeGeo Ltd (2012-2016), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
#include "IAsyncBufferTextureRequestor.h"
7
#include "Helpers.h"
8
#include "AsyncTexturing.h"
9
#include <vector>
10
11
namespace
Eegeo
12
{
13
namespace
Resources
14
{
15
namespace
Terrain
16
{
17
namespace
Raster
18
{
19
class
RasterTerrainTextureLoader
:
protected
Eegeo::NonCopyable
,
public
Rendering::AsyncTexturing::IAsyncBufferTextureRequestor
20
{
21
public
:
22
RasterTerrainTextureLoader
(
23
Helpers::ITextureFileLoader
& textureLoader);
24
25
Rendering::AsyncTexturing::IAsyncTexture
& RequestTextureFromBuffer(
26
std::vector<Byte>& buffer,
27
const
std::string& textureName,
28
const
std::string& fileExtension,
29
bool
generateMipMaps=
true
);
30
31
private
:
32
Helpers::ITextureFileLoader
& m_textureLoader;
33
};
34
}
35
}
36
}
37
}
Generated on Sat Jun 10 2023 02:00:33 for eeGeo Platform SDK by
1.8.3.1