Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Rendering
Renderables
UniqueTextureRenderableFactory.h
1
#pragma once
2
3
#include "UniqueTextureRenderable.h"
4
5
namespace
Eegeo
6
{
7
namespace
Rendering
8
{
9
namespace
Renderables
10
{
11
class
IUniqueTextureRenderableFactory
12
{
13
public
:
14
15
virtual
~
IUniqueTextureRenderableFactory
() { }
16
17
virtual
UniqueTextureRenderable
* Create(LayerIds::Values layerId,
18
Materials::IMaterial
* material,
19
const
VertexLayouts::VertexBinding
& vertexBinding,
20
Rendering::Mesh
* pMesh,
21
Rendering::AsyncTexturing::IAsyncTexture
* pTexture,
22
Eegeo::dv3
ecefPosition) = 0;
23
};
24
25
class
UniqueTextureRenderableFactory
:
protected
Eegeo::NonCopyable
,
public
IUniqueTextureRenderableFactory
26
{
27
public
:
28
29
virtual
UniqueTextureRenderable
* Create(LayerIds::Values layerId,
30
Materials::IMaterial
* material,
31
const
VertexLayouts::VertexBinding
& vertexBinding,
32
Rendering::Mesh
* pMesh,
33
Rendering::AsyncTexturing::IAsyncTexture
* pTexture,
34
Eegeo::dv3
ecefPosition)
35
{
36
return
Eegeo_NEW(
UniqueTextureRenderable
)(layerId, material, vertexBinding, pMesh, pTexture, ecefPosition);
37
}
38
};
39
}
40
}
41
}
42
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1