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
WorldMeshRenderable.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "MeshRenderable.h"
6
#include "LayerIds.h"
7
#include "Rendering.h"
8
#include "VectorMath.h"
9
10
namespace
Eegeo
11
{
12
namespace
Rendering
13
{
14
namespace
Renderables
15
{
16
class
WorldMeshRenderable
:
public
MeshRenderable
17
{
18
public
:
19
WorldMeshRenderable
(
20
LayerIds::Values layerId,
21
Materials::IMaterial
* material,
22
const
VertexLayouts::VertexBinding
& vertexBinding,
23
Rendering::Mesh
* pMesh,
24
Eegeo::dv3
ecefPosition,
25
bool
affectedByFlattening =
true
);
26
27
virtual
void
UpdateMVP(
const
Rendering::RenderContext
& renderContext,
float
environmentFlatteningScale);
28
29
protected
:
30
Eegeo::v3
m_cameraRelativeModelOrigin;
31
bool
m_affectedByFlattening;
32
};
33
}
34
}
35
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1