Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
BlueSphere
BlueSphereMeshRenderable.h
1
// Copyright eeGeo Ltd (2012-2016), All Rights Reserved
2
3
#pragma once
4
5
#include "WorldMeshRenderable.h"
6
#include "LayerIds.h"
7
#include "Rendering.h"
8
#include "VectorMath.h"
9
10
namespace
Eegeo
11
{
12
namespace
BlueSphere
13
{
14
class
BlueSphereMeshRenderable
:
public
Eegeo::Rendering::Renderables::WorldMeshRenderable
15
{
16
public
:
17
BlueSphereMeshRenderable
(Eegeo::Rendering::LayerIds::Values layerId,
18
Eegeo::Rendering::Materials::IMaterial
* material,
19
const
Eegeo::Rendering::VertexLayouts::VertexBinding
& vertexBinding,
20
Eegeo::Rendering::Mesh
* pMesh,
21
Eegeo::dv3
ecefPosition,
22
bool
ownsMesh)
23
: WorldMeshRenderable(layerId, material, vertexBinding, pMesh, ecefPosition)
24
, m_ownsMesh(ownsMesh)
25
{
26
}
27
28
~
BlueSphereMeshRenderable
()
29
{
30
if
(!m_ownsMesh)
31
{
32
m_pMesh = NULL;
33
}
34
}
35
36
private
:
37
bool
m_ownsMesh;
38
};
39
}
40
}
Generated on Sat Jun 10 2023 02:00:29 for eeGeo Platform SDK by
1.8.3.1